Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: Michael Ludwig To: Ant Users List Date: 31.07.2010 19:19 > Looks like the is not needed in this case as > seems to imply removal of duplicates. yep, you're right :-)

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Michael Ludwig
Gilbert Rebhan schrieb am 31.07.2010 um 14:50 (+0200): > > Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200): > > Should be using a regex here: getProperty("alljars").split("\\s+"); > > That will take care of linebreaks and tabs, not only spaces. > > not required in that case, as xmltask uses

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: Michael Ludwig To: Ant Users List Date: 31.07.2010 13:21 > Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200): > >> Whenever some kind of xml processing occurs within your ant workflow >>

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Michael Ludwig
Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200): > Whenever some kind of xml processing occurs within your ant workflow > i recommend the use of the xmltask[1]. > From your first posting i assume you have some xml like : > > > > antlr-2.7.6.jar antlr-2.7.6.jar antlr-2.7.6.jar > aopallian