Hi ant gurus

This has been an issue that I keep running into, and i was
wondering if you ant gurus could help show me "The Ant Way" to do this...

At runtime, i have a set of repetivie tasks that i need to run.  For
example (using the same set criteria as my previous post), let's say i
need to run the <jar> task multiple times, creating a set of jar files.
The names/locations of the jar files are determined by some set of
non-standard configuration (by non-standard i mean that it's not something
that any of the internal structures like fileset can deal with, i can
write a custom datatype to deal with this configuration). 

Note, I can not specify each file explicitly, since there is no way i can
know the filenames beforehand.  

So, given this, what is the proper ant way to deal with iterating over a
set of criteria that is defined at runtime?  

Is it to use the "foreach" task of ant-contrib?  I didn't think so since
ant-contrib is not part of the core ant distribution.  Am i wrong about
this?  

Is it to write a custom task that knows how to deal with the iteration
itself?  

Is it something else?

TIA

-tka



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to