ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Augusto Charnet <joao.char...@sfw.com.br>
Subject Re: Fileset search file
Date Thu, 15 Sep 2005 18:38:14 GMT
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 <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 <carej@us.ibm.com> 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 (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
>>>      
>>>
>
>
>
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>  
>


-- 

<http://www.sfw.com.br>Softway & Softcomex

	

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

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


Mime
View raw message