I don't really know what the proposal is for Ant2, but I have written a task that does this. It only has one drawback: a couple of the basic Ant classes must be modified to enable the use of sub-tasks. I suppose one could modify my task to simply call another target repeatedly for each file in the iterator. Anyway, if you'd like the code, let me know, or else take a look at the archives for something like "[SUBMIT] for-each task" around April or so.
Good luck, John Casey -----Original Message----- From: Daniel.Barclay [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2001 3:11 PM To: ant-dev Subject: executing task for each file in file set Does the for-each processing proposed for Ant2 cover running some task or series of tasks over each file in a file set? I'd like to something like: <unjar src="???.jar" dest="classes" /> for each file in a fileset like: <fileset dir="whatever" includes="*.jar" /> Thanks, Daniel -- Daniel Barclay Digital Focus [EMAIL PROTECTED]
