DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40175>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40175

           Summary: filesets are always sorted
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


if you use 
<fileset dir=".." includesfile="includes.txt"/>
includes.txt contains for example:

file1.xml
file4.xml
file2.xml
file3.xml

getting the included files they will be returned sorted by name

file1.xml
file2.xml
file3.xml
file4.xml

this behaviour is not expected and should be at least switchable.
this problem force the use of hardcoded (in the build.xml) list of files when a
particular order is needed

the sorting is performed in 
org.apache.tools.ant.DirectoryScanner.getIncludedFiles() and
.getIncludedDirectories()
performs an Arrays.sort()

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to