ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rao Chaudhri" <rchaud...@1fbusa.com>
Subject Remove duplicate JAR file names from an XML file
Date Mon, 26 Jul 2010 18:22:56 GMT
I have an xml file which lists JAR file names in it with space specified as a delimiter. There
are duplications of JAR files name in the file and I was wondering if there is a way to some
how get ride of the duplication, to get a file which has a unique set of JAR file names?

 

Example of file:

temp.xml:

antlr-2.7.6.jar antlr-2.7.6.jar antlr-2.7.6.jar aopalliance-1.0.jar aopalliance-1.0.jar aopalliance-1.0.jar
commons-validator-1.0.2.jar commons-validator-1.0.2.jar commons-lang-2.2.jar commons-lang-2.2.jar

 

Usman Chaudhri

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message