Re: How to test whether a particular environment variable is set or not

2005-08-09 Thread Pankaj Kumar
mar" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, August 09, 2005 4:41 PM > Subject: How to test whether a particular environment variable is set or not > > > Hi Folks, > > I want to set a property to the value of an environment variable if > that variable is s

RE: How to test whether a particular environment variable is set or not

2005-08-09 Thread Blagassie
Sorry, was thinking of NAnt -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 1:09 PM To: Ant Users List Subject: Re: How to test whether a particular environment variable is set or not The second will not work, because the

Re: How to test whether a particular environment variable is set or not

2005-08-09 Thread Alexey N. Solofnenko
The second will not work, because the property is already set earlier. You may want to execute them in reverse order. - Alexey. [EMAIL PROTECTED] wrote: This will trim down the previous post -- /

RE: How to test whether a particular environment variable is set or not

2005-08-09 Thread Blagassie
This will trim down the previous post mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 12:55 PM To: Ant Users List Subject: Re: How to test whether a particular environment variable is set or not Using the task (from the ant-contrib project) you can do it like this

Re: How to test whether a particular environment variable is set or not

2005-08-09 Thread Ninju Bohra
rnative for the same : > > value="TO_BE_REPLACED"/> > > might work. > > Cheers, > > Antoine > > > > - Original Message - > From: "Pankaj Kumar" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, August 09, 2005

Re: How to test whether a particular environment variable is set or not

2005-08-09 Thread Antoine Levy-Lambert
hello Kumar, this is another alternative for the same : might work. Cheers, Antoine - Original Message - From: "Pankaj Kumar" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 09, 2005 4:41 PM Subject: How to test whether a particular environment variable is set o

How to test whether a particular environment variable is set or not

2005-08-09 Thread Pankaj Kumar
Hi Folks, I want to set a property to the value of an environment variable if that variable is set, otherwise to a different string. I am able to do this with the following: TEST_HOME: ${test.home} Is there a better (read: less verbose)