ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Order of files inside a fileset
Date Tue, 04 Nov 2008 15:43:32 GMT

-----Original Message-----
From: Krzysieq [mailto:krzysieq@gazeta.pl]
Sent: Tuesday, November 04, 2008 4:14 PM
To: Ant Mailing List
Subject: Order of files inside a fileset

/*
I read the ant docs regarding filesets, but haven't found what I'm looking
for. Is there any way telling, what is the order of files inside a fileset?
Is there any way in which this can be affected? For instance, let's have a
folder /foo, with files bar1.txt, bar2.txt, ... bar5.txt.
[...]
*/

with ant 1.7 =

<sort>
  <fileset dir="your/dir" id="foobar" />
</sort>

<echo>Sorted${line.separator}${toString:foobar}</echo>


see =
http://ant.apache.org/manual/CoreTypes/resources.html#sort


Regards, Gilbert


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message