ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: how to run a target multiple times from another target
Date Thu, 05 Feb 2004 15:54:08 GMT
--- Shailesh Sharma <> wrote:
> Well what i mean to say is ......i probably want to
> write a target that does the deploy, and then call
> the target many times. 

That certainly is a way to do it.  There might be
others using dependencies, etc., but it would all
amount to pretty much the same thing.  You might look
at ant-contrib since they have several alternatives to
<antcall> including the terse <foreach> and <for>
which handle looping over (in your case) a <fileset>. 
The online documentation is not up to date (notably,
<for> is absent) but the latest release contains the
current docs.


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message