ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Champlon <m.champ...@free.fr>
Subject Re: Loop over a set of files
Date Tue, 10 Oct 2006 00:47:08 GMT
Hello,

The <for> task from ant-contrib is probably what you are looking for : 
http://ant-contrib.sourceforge.net/tasks/tasks/for.html

MAT.

Iván Pérez Domínguez a écrit :
> Hi there!
>
> I've written a macrodef that takes a file name as an argument and tests
> it with a specific command. I'd like to run this macrodef over a set of
> files, but the program I test can only get one input file at each time.
> I'd also like to be able to use pattern matching, such as "*.o" or
> "*.cpp" for these input files.
>
> Is there any existing task that can help me on this purpose? Do I have
> to write my own ANT loop-over-fileset task in Java to do it?
>
> Cheers
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message