Substring or Substitution in ANT

2001-12-03 Thread Hannes van der Merwe
Is there an existing task that can be used to get a substring of a String or substitute a part of a String with something else? Hannes van der Merwe Momentum Employment Benefits (IT) Telephone : (011) 685 4306 Email : [EMAIL PROTECTED] E-mail disclaimer Confidentiality Warning

RE: Substring or Substitution in ANT

2001-12-04 Thread Hannes van der Merwe
to=/ /pathconvert Here I am actually getting the remaining part of tempPathName after ${PRODUCT_ROOT}${FILE_SEP}src. Jerry -Original Message- From: Hannes van der Merwe [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:29 AM To: '[EMAIL PROTECTED]' Subject

RE: Substring or Substitution in ANT

2001-12-04 Thread Hannes van der Merwe
Thanks, Jerry !!! -Original Message- From: Li, Jerry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 7:18 PM To: 'Ant Users List' Subject: RE: Substring or Substitution in ANT Yeap, you've got it. Jerry -Original Message- From: Hannes van der Merwe [mailto:[EMAIL

Check for environment variable existence

2001-12-06 Thread Hannes van der Merwe
is set or not? Hannes van der Merwe Momentum Employment Benefits (IT) Telephone : (011) 685 4306 Fax : (011) 685 4006 Email : [EMAIL PROTECTED] E-mail disclaimer Confidentiality Warning === The contents of this message and any attachments are intended solely for the addressee's

RE: Check for environment variable existence

2001-12-06 Thread Hannes van der Merwe
Maybe it is a stupid question, but how should I do that? -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 1:39 PM To: [EMAIL PROTECTED] Subject: Re: Check for environment variable existence On Thu, 6 Dec 2001, Hannes van der Merwe

How can you MAP more than once !

2001-12-06 Thread Hannes van der Merwe
I'm using the pathconvert target to map substrings in a path to other substrings, of course. How can I execute one mapping more than once or in other words: If I want to replace let say ':' with ' ', how can I map it for every occurence of ':' ? Cheers. Hannes van der Merwe Momentum Employment

How can one setup special filesets?

2001-12-10 Thread Hannes van der Merwe
I want to do the following: Loop through a path containing java source files (*.java) , remembering their names (exluding .java) and appending .class to build a new path which contains the resulting java classes as it will be generated by javac. Hannes van der Merwe Momentum Employment Benefits

RE: How can one setup special filesets?

2001-12-11 Thread Hannes van der Merwe
There are other .class files that is not part of the grouping I want to make. -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 5:14 PM To: Ant Users List Subject: Re: How can one setup special filesets? --- Hannes van der Merwe [EMAIL

How can one copy paths in a property somewhere?

2001-12-12 Thread Hannes van der Merwe
For example: FILES = a.dat:b.dat:c.dat No I want to copy the 3 files above in the property FILES to a certain directory. How? Hannes van der Merwe Momentum Employment Benefits (IT) Telephone : (011) 685 4306 Fax : (011) 685 4006 Email : [EMAIL PROTECTED] E-mail disclaimer Confidentiality

RE: How can one copy paths in a property somewhere?

2001-12-13 Thread Hannes van der Merwe
in a property somewhere? --- Hannes van der Merwe [EMAIL PROTECTED] wrote: For example: FILES = a.dat:b.dat:c.dat No I want to copy the 3 files above in the property FILES to a certain directory. How? Use pathconvert to set a property that's ${FILES} as a comma-separated list, then use