You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Pa...@ca.ibm.com on 2002/12/17 16:06:11 UTC
Changing directory calling a target
Hello,
I'm new to Ant, so please excuse me for this basic question.
I have a target A that calls a target B (A and B are in the same file),
and whereas the target A executes into the directory FOO,
I'd like the target B to be executed into the directory BAR.
I tried to override the basedir (with the value BAR), after setting the
inheritAll property to false, but the overriding is ignored.
How can I do that? I got something working putting the target B
into another file, but I'd like to avoid using this solution which I
found very ugly.
Thank you
PaScaL