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:43:37 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 gudnabrsam@yahoo.com  2006-08-04 16:43 -------
(In reply to comment #8)
> It is getting personal.

If I have presented a negative face here, I apologize, although the only
"personal" thing I feel I possibly brought to the discussion was the "your
behavior" comment.  It has been pointed out to me that certain statements on
this thread may or may not have had rude intent but in the interest of ending
this facet of the discussion I'll say no more on the subject.

> 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.

1.7's resource collections can do pretty much whatever is needed of them, since
RC is just an interface and therefore fully open to custom implementations.  Ant
1.7 will ship with the <sort> collection that allows the use and/or combination
of a number of included resourceComparators as well as the possibility for
custom ResourceComparator implementations.  With this, and the proposed
includesfile attribute of <filelist> it seems that all bases would be covered.


-- 
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