-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 6:46 AM
To: user@ant.apache.org
Subject: AW: Order of files inside a fileset

><sort>
>  <fileset dir="your/dir" id="foobar" />
></sort>
>
><echo>Sorted${line.separator}${toString:foobar}</echo>

/*
Your "id" is on on the unsorted <fileset> not the <sort>ed one.
*/

Oops, the fileset seemed to be ordered, so i thought it
would be sufficient that way.


so i need to go with pathconvert =

<pathconvert property="sorted" pathsep="${line.separator}" setonempty="false">
  <sort>
    <fileset dir="y:/copyto"/>
  </sort>
</pathconvert>

<echo>Sorted =${line.separator}${sorted}</echo>


Is there a way to give an id to a fileset after sorting ?

Regards,
Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to