This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes loops in ant script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "loops in ant script" Watch "loops in ant script" New topic
Author

loops in ant script

Jisha Balan
Greenhorn

Joined: May 21, 2005
Posts: 1
I want to know how we can apply loops(like for loop and while loop) in ant scripts
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What do you want to do?


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
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Use <foreach>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: loops in ant script