File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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
Marshal

Joined: Mar 22, 2005
Posts: 42910
    
  68
iterating over directory

Doing what?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant build