ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40175] - filesets are always sorted
Date Fri, 04 Aug 2006 16:24:00 GMT
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





------- Additional Comments From alexeys@inventigo.com  2006-08-04 16:23 -------
It is getting personal. In a perfect world all sets would be unsorted, but in
the real world sorted and ordered sets are needed and that is why there are
LinkedHashSet and TreeSet in Java. The main difference between all these
collections is a predictable order of navigation. There is nothing wrong with it.

There is an example - to achieve the best compression ratio for solid archives
(for example, tgz), the files should be sorted by extension -> increasing file
size -> file name, but not how ANT filesets are sorted. I do not say that it
would be better to change resource collections to be sortable (maybe it is), but
the original point is valid.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message