ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: stripping duplicates in file with <script> ?
Date Mon, 25 Jul 2005 07:05:29 GMT
With Ant 1.7 (maybe sometimes end of this year :) there would be support for "resources" [1].
And there is a resource collection <union> with eliminates duplicates.


Jan

[1] http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/CoreTypes/resources.html?content-type=text%2Fplain

>-----Urspr├╝ngliche Nachricht-----
>Von: jh@web.de [mailto:jh@web.de] 
>Gesendet: Freitag, 15. Juli 2005 20:37
>An: Rebhan, Gilbert; user@ant.apache.org
>Betreff: Re: stripping duplicates in file with <script> ?
>
>On Fri, 15 Jul 2005 11:34:46 +0200, Rebhan, Gilbert wrote:
>
>Not that I've tried it, but a combo of <path>, <pathconvert>, 
><antcontrib:sort> and <antcontrib:pathtofileset> could do the trick.
>
>>i'm parsing the updatelogs from a ClearCase snapshotview with regular 
>>expressions - that works fine, OK
>
>>But as i have to parse n logs of one whole day there appear 
>duplicates 
>>in the resulting files i write the parsed filenames into.
>
>>f.e.
>
>>/config/productbundles.xml
>>/TestVersions.xml
>>/ReadMe_Test.html
>>/config/productbundles.xml
>>/TestVersions.xml
>>/ReadMe_Test.html
>>/config/productbundles.xml
>
>
>Ciao, J├╝rgen
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message