This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes ant build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant build" Watch "ant build" New topic
Author

ant build

bondada urs
Greenhorn

Joined: Sep 30, 2005
Posts: 2
Hi everybody,

i am new bie to ant build tool. i have requirement about iterating over directory.

how to iterate over directory through ant build script.

thanks in advance

narayana
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
iterating over directory

Doing what?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5850
    
    7

Check out antcontrib (http://ant-contrib.sourceforge.net/), it contains <for> and <foreach> tasks.

But a description of why you want to iterate over a directory might help - perhaps there is a better way of doing what you want to accomplish.


JBoss In Action
 
 
subject: ant build