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 16273] - CoreTask: Sorting a file and comparing property resource files
Date Wed, 25 May 2005 19:02:26 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=16273>.
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=16273





------- Additional Comments From gudnabrsam@yahoo.com  2005-05-25 21:02 -------
For 1), you can use ant-contrib's sortlist task:

<project xmlns:ac="antlib:net.sf.antcontrib">
  <echo file="unsorted">foo
bar
blah
abc
woo
hoo
</echo>
<loadfile property="unsorted" srcfile="unsorted" />
<ac:sortlist property="sorted" delimiter="${line.separator}" value="${unsorted}"
 />
<echo>$${sorted}=${sorted}</echo>
</project>

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