Cool .. Thanks for the quick response... -----Original Message----- From: Ivan Ivanov [mailto:[EMAIL 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" <[EMAIL 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]