ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shailesh Sharma <shailesh_s...@yahoo.com>
Subject RE: how to run a target multiple times from another target
Date Thu, 05 Feb 2004 16:56:23 GMT
would AntContrib is included with ANT. Iam using ANT that comes with Weblogic server 8.1.
 
do i need to install this new software called AntContrib and then configure it ......
 
-shailesh

Jan.Materne@rzf.fin-nrw.de wrote:
I would try AntContrib










Jan



> -----Original Message-----
> From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com]
> Sent: Thursday, February 05, 2004 3:57 PM
> To: Ant Users List
> Subject: how to run a target multiple times from another target
> 
> 
> Hi, I have a build.xml file that contains a target called 
> "deploy" that i need to execute 5 times depending upon the 
> source specified in another target called 
> "deploy-cm-testnet". So on my command line i will just type 
> >ant deploy-cm-testnet
> 
> and it will execute the "deploy" target 5 times .....all i 
> want to know is if it will work OR if it is the correct 
> approach .....??? 
> 
> 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. 
> 
> ie. something like this 
> 
> 
> 
> 
> 
> 
> 
> 
> value="foo1.war"/> 
> 
> 
> value="foo2.war"/> 
> 
> 
> value="foo3.war"/> 
> 
> 
> value="foo4.war"/> 
> 
> 
> value="foo5.war"/> 
> 
> 
> 
> Please suggest.
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online
> 


---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message