In a ant buildfile, I have a property with strings separated with commas:
Now I want iterate over these tokens to execute some task. It would be like use String.split() Or use <forToken> JSTL tag. Exemple:
But I did nothing about this in Web. Comeone knows how to do this?
Thank,
=================================<br /> Rafael U. C. Afonso<br /> <a href="http://www.javafree.com.br" target="_blank" rel="nofollow">www.javafree.com.br</a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
Rafael, You can't do it in pure Ant. Instead, you can use an embedded scripting language like BSF (very similar to Java) to do the split. Then invoke a real Ant task with each of the classes.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus