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&#x

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

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

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: To: user@ant.apache.org Date: 27.07.2010 08:32 >> I have an xml file which lists JAR file names in it with space >> specified as a delimiter. There are duplications of JAR files

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread David Weintraub
On Mon, Jul 26, 2010 at 2:22 PM, Rao Chaudhri wrote: > 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

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread Michael Ludwig
Rao Chaudhri schrieb am 26.07.2010 um 11:22 (-0700): > 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 whi

RE: AW: Remove duplicate JAR file names from an XML file

2010-07-27 Thread Rao Chaudhri
temporary variable in the next iteration. Thanks Usman Chaudhri -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Sent: Monday, July 26, 2010 11:33 PM To: user@ant.apache.org Subject: AW: Remove duplicate JAR file names from an XML file >I have an xml f

AW: Remove duplicate JAR file names from an XML file

2010-07-26 Thread Jan.Materne
>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

Remove duplicate JAR file names from an XML file

2010-07-26 Thread Rao Chaudhri
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