ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@baybroadband.net
Subject RE: Implementing a loop in ANT
Date Wed, 07 Jun 2006 18:22:18 GMT
ant-contrib.sourceforge.net has some tasks to do this.




-----Original Message-----
From: "Guru Balse" <guru.balse@oracle.com>
Sent: Wed, June 7, 2006 2:17 pm
To: "Ant Users List" <user@ant.apache.org>
Subject: Implementing a loop in ANT

I am sure this question has been asked before, and I could not see any
reasonable answer in the archives.  How can I implement a loop in ANT
without using scripts?  For example, if I want to call a certain target
N times, how can I do it?

Using ant-contrib is OK.  Of course, something like <for
list="1,2,3,4,5,6,...,N"> would work but I want N to be a property that
can be specified in the command line.

Thanks in advance for your suggestions.

 - Guru Balse

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message