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 ant.target.name property?
Thanks, Sean Rohead