Ant 1.7 adds resourcecollections including the <sort> collection which will sort another resourcecollection (e.g. fileset) according to a specified resourcecomparator. If you care to build Ant from svn HEAD you could try it out now, or wait for 1.7 (2-5 months maybe?)
-Matt --- "Allwicher, Klaus" <[EMAIL PROTECTED]> wrote: > Hi, > > I have to process different files ordered by their > creation date. (In more > detail, I have to import them and have to assure the > the contents of newer > archives are not overwritten by the contents of > older files). > If there a possiblity to define an order for > filesets or are there any other > ways to achieve this with standard ANT tasks/types ? > > Or do I have to write a new/extended fileset by my > own ? > > Currently the ANT target looks something like > > <for param="arc_name"> > <path> <fileset dir="${dir.import}" > casesensitive="false" > includes="${arc_pattern}" /> </path> > <sequential> > <import archive="@{arcname}" /> > </sequential> > </for> > > Thanks for you help :-) > > Klaus > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]