;) Correct; 1.7 will have a <sort> resource collection and several included resource comparators. I didn't want to disappoint the guy, so hadn't said anything.
-Matt --- Jeffrey E Care <[EMAIL PROTECTED]> wrote: > I think some of Matt Benson's work on the HEAD (i.e. > Ant 1.7) branch for > resource collections can do ordering. > > Unfortunately that won't help you on 1.6 .... > > -- > Jeffrey E. Care ([EMAIL PROTECTED]) > WebSphere v7 Release Engineer > WebSphere Build Tooling Lead (Project Mantis) > > > João Augusto Charnet <[EMAIL PROTECTED]> wrote > on 09/15/2005 > 04:23:14 PM: > > > Thanks for the response. > > Is there any way to guarantee the order of the > files returned ? > > > > Thanks again ... > > John > > Jeffrey E Care wrote: > > fileset goes not guarantee that the files it > matches will be returned in > > > any particular order. I do believe that it will go > depth-first, but > within > > any given directory there is no guarantee on the > order of the files in > > that directory, as this is dependant on the > underlying JVM, native > > filesystem, etc. > > > > To use your example, you might get back either: > > > > File1 File2 File3 File4 File5 > > > > or: > > > > File2 File1 File3 File5 File4 > > > > > > > > > -- > > > > [image removed] Softway & Softcomex > > > > João Augusto Charnet > > Computer Engineer - R&D Team > > > > Phone/Fax: 55 19 3739-9261 > > E-mail: [EMAIL PROTECTED] > > R. Conceicao, 233 - Cj, 609 - Centro > > 13010-050 - Campinas - SP - Brazil __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]