I was also wondering how you'd acheive the same effect if you wanted to perform a non-FileSet-based ANT command instead of doing an exec.
For instance, I might want to sign all the jars in a directory - it's easy to get a FileSet matching *.jar - how do you then iterate through the results of the FileSet calling signjar for each? -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 16:05 To: 'Ant Users List' Subject: RE: Repeating a command for each entry in a FileSet That's the purpose in live of <apply> ;-) --DD -----Original Message----- From: Tim Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 9:55 AM To: Ant Users List Subject: Repeating a command for each entry in a FileSet Hello Is there any way to perform the same command or set of commands for each file in a FileSet? I want to be able to get a FileSet, matching all files on a pattern, and then do a separate exec for each file. Any ideas? Thanks Tim Gordon Allustra Limited 1 Royal Exchange Avenue London EC3V 3LT Tel 020 7464 4190 Tel 020 7464 4194 http://www.allustra.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]