Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Calling a target from within a target and passing arguments...

Calling a target from within a target and passing arguments...

2005-06-20       - By Santoshi, Vishal
Reply:     1     2     3     4     5  

Is it possible to call a target from within another target and pass in
arguments to the called target ?

Or

Is this possible?

<target A>
<!-- depends on args x and y -->
</target>

<target B>
<!-- calls target A with two arguments that are intercepted by target A
as x and y-->
</target>

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.