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

  


--

Softway & Softcomex

João Augusto Charnet
Computer Engineer - R&D Team

Phone/Fax: 55 19 3739-9261
E-mail: joao.charnet@sfw.com.br
R. Conceicao, 233 - Cj, 609 - Centro
13010-050 - Campinas - SP - Brazil