ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wascally Wabbit <wascallywab...@earthling.net>
Subject Re: Iterating a class list
Date Sun, 30 Sep 2007 14:34:33 GMT
If you can use third party libraries see AntXtras(antxtras.sf.net);
you can do this like:

<foreach i="nextjar" list="${jarlist}" delim=";" mode="local">
    [your other ant script statements here using ${nextjar}]
</foreach>

-The Wabbit

James Griggs wrote:
> I am looking for way to iterate through a property that contains a 
> semicolon delimited list of libraries (jars).  The property could 
> contain zero or more items.  What I wish to do is to break the list into 
> its individual items and perform a particular task on it.  I have thus 
> far been unable to solve this for myself, and would greatful for 
> assistance.
> 
> Thank you,
> James
> 
> 
> 
> ---------------------------------------------------------------------
> 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