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 >> name in th

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: Ant: want to copy a file if it exists

2010-07-30 Thread Matt Benson
On Jul 30, 2010, at 8:42 AM, Martin Gainty wrote: A great question! i found 2 items that may help: 1)Javadoc for an Ant Resource: http://www.docjar.com/docs/api/org/apache/tools/ant/types/ Resource.html This does communicate the basic idea that a Resource is *like* a File. 2)The folks a

RE: Ant: want to copy a file if it exists

2010-07-30 Thread Martin Gainty
A great question! i found 2 items that may help: 1)Javadoc for an Ant Resource: http://www.docjar.com/docs/api/org/apache/tools/ant/types/Resource.html 2)The folks at Simon Fraser put together this user-friendly explanation http://www.sfu.ca/cprost/docs/A%20Brief%20Overview%20of%20ANT.pdf the

RE: Ant: want to copy a file if it exists

2010-07-30 Thread eric.wood
I was curious if resource collections were an option to use. To be honest, I have never fully appreciated resources. Is there a good tutorial on resources in ANT? -Original Message- From: Vimil Saju [mailto:vimils...@yahoo.com] Sent: Thursday, July 29, 2010 8:27 PM To: Ant Users Lis