ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Harnack <harna...@mail05.harlau.de>
Subject Re: Loop over a set of files
Date Tue, 10 Oct 2006 10:04:46 GMT
Hello,

for getting a list of files maybe the fileutil-Task
(http://antelope.tigris.org/docs/manual/bk03ch12.html) is useful and
the propertyregex-Task (ant-contrib) could help to manage pattern matching.

Regards

Frank

Quoting Mathieu Champlon <m.champlon@free.fr>:

> 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
>
>





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


Mime
View raw message