You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Craeg K. Strong" <cs...@arielpartners.com> on 2001/10/01 20:26:35 UTC

[PATCH] make task not override child antfile basedir IFF (inheritAll == false && no dir attribute) -- resubmit

Stephane Bailliez wrote:

>I need some explanation about <ant> task and the recent introduction of
>inheritall.
>
>It looks like to me that it prevents the called ant file to define its
>basedir whether or not inheritall is true/false. Therefore all definitions
>that occurs inside the build file are based on the parent basedir and not
>the called one.
>
>I always have:
>"Override ignored for user property basedir"
>
>Is that the defined behavior ?
>
>It would have been useful so that I can set an external repository of
>properties and path that are resolved relative to the called file. Though
>I'm walking a little bit on 'build include' side :)
>
Stephane:

Enclosed please find a tiny patch that resolves the issue you noted 
above.   This is
a resubmission against the very latest CVS version.  Stephane-- does 
this address
your problem?  I doubt there are many people using this precise 
combination of
settings.... is this therefore a good bet for 1.4.1?

Thanks,

--Craeg