Iterating over a comma/semicolin separated list
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   R_Newton
Posted On:   Tuesday, November 4, 2003 11:45 AM

What is the easiest way to iterate over a stringed list of values separated by a commas/semi-colins. The easiest way for me to demonstrate is just show what a potential solution would look like. Something like


			









would parse out the elements of the list and iterator over each of them. Is there anything like this in Ant currently? Or is there another way you are supposed to go about something like this?

Re: Iterating over a comma/semicolin separated list

Posted By:   Anonymous  
Posted On:   Thursday, November 6, 2003 03:46 AM

You have nearly used the right syntax :-) But you need the AntContrib library for the foreach task.

Ant-Contrib:
Homepage,
CVS-Source,
CVS-Manual,
Binary
About | Sitemap | Contact