From: [EMAIL PROTECTED] > 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've written a foreach task that avoids the need to modify other tasks. You can find it in the archive under foreach, or mail me for a copy. (If I had cvs access from work, I'd put it on sourceforge, but so far I haven't managed to get it to work.) > -----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] >
