-------- Original Message  --------
Subject: Re: Remove duplicate JAR file names from an XML file
From: Michael Ludwig <mil...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to