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

2005-08-09 Thread Pankaj Kumar
On 8/9/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > this is another alternative for the same : > > > Hi Antoine, This works. It is also more compact and elegant (compared to my version). Thanks. /Pankaj. > - Original Message - > From: "Pankaj Kumar" <[EMAIL PROTECTED]> > To:

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
Using the task (from the ant-contrib project) you can do it like this: Though I am not sure if it is less verbose, it is more readable at least --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > hello Kumar, > > this is another alternative for the sa

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 or not Hi Folks, I