Re: Loop over a set of files

2006-10-10 Thread Peter Reilly
An example loop over files: Process @{file} Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Loop over a set of files

2006-10-10 Thread Daniel Blaukopf
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

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
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

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
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

Re: Loop over a set of files

2006-10-09 Thread Mathieu Champlon
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

Loop over a set of files

2006-10-09 Thread Iván Pérez Domínguez
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