ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: executing task for each file in file set
Date Mon, 21 May 2001 20:39:13 GMT
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 []
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" />

Daniel Barclay
Digital Focus

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message