ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <gil...@maksimo.de>
Subject Re: Remove duplicate JAR file names from an XML file
Date Sat, 31 Jul 2010 17:33:53 GMT
-------- Original Message  --------
Subject: Re: Remove duplicate JAR file names from an XML file
From: Michael Ludwig <milu71@gmx.de>
To: Ant Users List <user@ant.apache.org>
Date: 31.07.2010 19:19


> Looks like the <union> is not needed in this case as <pathconvert>
> seems to imply removal of duplicates.

yep, you're right :-)

<pathconvert property="uniquejars" pathsep=",">
 <sort>
  <tokens>
   <propertyresource name="alljars"/>
   <stringtokenizer/>
  </tokens>
 </sort>
</pathconvert>

does the job.


Regards, Gilbert






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


Mime
View raw message