Re: Fileset search file

2005-09-16 Thread Matt Benson
You can (or I might if I ever get time) write a custom ResourceComparator for use with the sort collection. -Matt --- João Augusto Charnet <[EMAIL PROTECTED]> wrote: > Ok > I've downloaded a nightly build of ant, to see how > the sort tag works. > It still doesn't give me the ordering I need

Re: Fileset search file

2005-09-16 Thread João Augusto Charnet
Ok I've downloaded a nightly build of ant, to see how the sort tag works. It still doesn't give me the ordering I need. \---01_Vdir1     |   01_file1.sql     |     +---00_Vdir2     |   00_file2.sql     |   01_file3.sql     |     \---01_Vdir3     |   01_file4.sql     |   02_f

Re: Fileset search file

2005-09-15 Thread Antoine Levy-Lambert
João Augusto Charnet wrote: > Hello, > I'm using Fileset to search through a series o files of the same > extension (say *.jsf). I'd like to know if file set does a depth > search, ou a width search through out the directories. > Example: > Let's say I have the following directory structure: > ...

Re: Fileset search file

2005-09-15 Thread Matt Benson
--- João Augusto Charnet <[EMAIL PROTECTED]> wrote: > Is there any work around I can do to achieve some > kind of ordering until > 1.7 comes out? You could subclass fileset to order things. > Any idea on when 1.7 is coming out ? Nothing concrete, hopefully by the end of the year at the latest.

Re: Fileset search file

2005-09-15 Thread João Augusto Charnet
Is there any work around I can do to achieve some kind of ordering until 1.7 comes out? Any idea on when 1.7 is coming out ? Thanks . John Matt Benson wrote: ;) Correct; 1.7 will have a resource collection and several included resource comparators. I didn't want to disappoint the guy, so

Re: Fileset search file

2005-09-15 Thread Matt Benson
;) Correct; 1.7 will have a 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

Re: Fileset search file

2005-09-15 Thread Jeffrey E Care
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

Re: Fileset search file

2005-09-15 Thread João Augusto Charnet
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 give

Re: Fileset search file

2005-09-15 Thread Jeffrey E Care
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 filesyste