ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Looping number of times
Date Tue, 13 Apr 2010 07:05:28 GMT
or directly from the ac-manual

 The following example loops from one to ten.

    <ac:for param="i" end="10">
      <sequential>
        <echo>i is @{i}</echo>
      </sequential>
    </ac:for>
    

Jan 

> -----Urspr√ľngliche Nachricht-----
> Von: Jan [mailto:raghurefer@gmail.com] 
> Gesendet: Montag, 12. April 2010 21:08
> An: Ant Users List
> Betreff: Looping number of times
> 
> Hi All,
> 
> Is there any task available to loop for number of times ?
> 
> I know we can use ant-contrib for loop for the comma 
> seperated list, instead
> of it i want to mention loop it for 10 times
> 
> Any one any idea?
> 

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


Mime
View raw message