ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Blaukopf <Daniel.Blauk...@Sun.COM>
Subject Re: Loop over a set of files
Date Tue, 10 Oct 2006 15:06:24 GMT
Hi Iván,


Can you write your macro to accept a fileset instead of a specific file?
And then us <apply parallel="false"> to run the command?


Daniel


Iván Pérez Domínguez wrote:

> 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