ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: Fileset search file
Date Thu, 15 Sep 2005 18:05:31 GMT
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 (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)


João Augusto Charnet <joao.charnet@sfw.com.br> 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: joao.charnet@sfw.com.br 
> R. Conceicao, 233 - Cj, 609 - Centro
> 13010-050 - Campinas - SP - Brazil
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message