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 Jeffrey E Care
Reply:     1     2     3     4     5  

Check the manual for the <antcall> task.

--
Jeffrey E. Care (carej@(protected))
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


"Santoshi, Vishal" <Vishal_Santoshi@(protected)> wrote on 06/20/2005
05:56:05 PM:

> 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.