For loop control in build.xml
1 posts in topic
Flat View  Flat View

Posted By:   shailesh_garg
Posted On:   Thursday, April 1, 2004 03:55 PM

Is it possible to use loop structures in build.xml

I've a requirement where list of filenames will be provided in a text file separated by new lines. I need to go through each of the name and do some processing on it.
I know there is a "loadfile" task to load the contents of the file in a property.

Is it do-able?

Re: For loop control in build.xml

Posted By:   Anonymous  
Posted On:   Monday, April 5, 2004 11:56 PM

You can do loops with AntContribs and . Maybe something like that would work:

processing @{name}

Have written that without test/manual, so ensure the syntax :-)
About | Sitemap | Contact