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  

Cool ..
Thanks for the quick response...

-----Original Message-----
From: Ivan Ivanov [mailto:rambiusparkisanius@(protected)]
Sent: Monday, June 20, 2005 5:01 PM
To: Ant Users List
Subject: Re: Calling a target from within a target and passing
arguments...

Yes, it can, <antcall> is what you are looking for.

HTH Ivan

--- "Santoshi, Vishal" <Vishal_Santoshi@(protected)>
wrote:

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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected) For additional
commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


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