An example loop over files:
Process @{file}
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Iván,
Can you write your macro to accept a fileset instead of a specific file?
And then us 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 mac
Sorry, forget my previous mail!
The for-task can manage it alone (with a nested fileset element).
Regards
Frank
Quoting Frank Harnack <[EMAIL PROTECTED]>:
> Hello,
>
> for getting a list of files maybe the fileutil-Task
> (http://antelope.tigris.org/docs/manual/bk03ch12.html) is useful and
> t
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 <[EMAIL PROTECTED]>:
> Hello,
>
> The task from an
Hello,
The 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
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
"*.cp