ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Wannheden" <>
Subject Re: Bug 3304
Date Wed, 24 Sep 2003 08:10:30 GMT
Maybe the <subant> task could be modified to use the current target (the
target in which the <subant> task is contained) as the default, instead of
the called project's default target.  That's how my own <subant> works and I
think it is a reasonable default.


"Sean Rohead" <> wrote in message
I wanted to lobby for bug 3304 as an enhancement.  I have an ant script
which calls subordinate ant scripts using the <ant> task.  I would like
to pass the build target to the subordinate scripts so they can execute
the same target as the parent (ie. 'ant compile' calls the compile
target on the subordinate projects).  Without a means of accessing the
target name, I would have to hardcode the target and therefore need to
place <ant> tasks within every single target in the parent build file.
Am I missing something?  Is there another way to accomplish this without
a standard property?


Sean Rohead

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message