ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: If anybody is interested.. [foreach] task which doesnt run out of memory.
Date Wed, 18 Sep 2002 13:58:01 GMT
Now THAT is cool!

-Matt

--- Geoff Meakin <geoffm@isocra.com> wrote:
> Yes, it appears so:
> 
> <target name="main">
>   <foreach2 param="letter" list="a,b,c">
>     <do>
>       <foreach2 param="number" list="1,2,3">
>         <do>
>           <echo message="combi is
> ${letter}${number}"/>
>         </do>
>       </foreach2>
>     </do>
>   </foreach2>
> </target>
> 
> Gives the output:
> 
> combi is a1
> combi is a2
> combi is a3
> combi is b1
> combi is b2
> combi is b3
> combi is c1
> combi is c2
> combi is c3
> 
> Cheers
> -Geoff
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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


Mime
View raw message