ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craeg K. Strong" <>
Subject Re: [PATCH] basedir for child project not set correctly from <ant> task
Date Mon, 22 Oct 2001 03:57:31 GMT
David Sitsky wrote:

>>As far as I can tell, there is no way to do the thing which I at least
>>would 95% of the time want to do: run a specific build script and ask Ant
>>to give it the basedir it specifies for itself (without hardcoding this
>>into the calling script).
>I would have thought this is what most users would be wanting too.  For all 
>of my own "nested" buildfiles,  I had basedir="." and always called them 
>using the "dir" attribute in the <ant> task.  I didn't realise basedir in the 
>nested task is ignored in this circumstance (my fault for not reading the 
>manual properly).

I submitted a patch a few weeks back to address this problem.
It makes the <ant> task not override the child antfile basedir IFF
inheritAll == false and no dir attribute specified.  Please see:

I am guessing it may have been overlooked b/c

a) the need to get 1.4.1 out the door
b) one might argue it represents "new" ("changed") functionality

Submitters: please consider this another request to
commit this (tiny) patch, now that 1.4.1 has shipped.



View raw message