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 Fri, 16 Sep 2005 12:01:57 GMT
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_file5.sql
        |
        \---01_dir4
                01_file6.sql
                02_file7.sql
                03_file8.sql

That's my directory structure.
If I do a dir /s *.sql from the root dir, I get the files in the 
following order :

01_file1.sql
00_file2.sql
01_file3.sql
01_file4.sql
02_file5.sql
01_file6.sql
02_file7.sql
03_file8.sql

Which is exaclty what I'm looking for.
When I use the sort tag, it's sorting by the file name, so it gives me 
the following order:
00_file2.sql
01_file3.sql
01_file1.sql
01_file6.sql
02_file7.sql
03_file8.sql
01_file4.sql
02_file5.sql

Is there any atribute I can set in the sort tag so that it returns the 
file as the dir /s command ?

Thanks a lot

John.


Matt Benson wrote:

>--- João Augusto Charnet <joao.charnet@sfw.com.br>
>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.
>
>-Matt
>
>
>
>		
>__________________________________ 
>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