Re: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
Yep, just tried it. That would work too. (I just thought I tried that already). Sorry for confusion. Thanks a lot! -Serge Matt Benson wrote: uh... no. Try it. Then reread http://ant.apache.org/manual/CoreTasks/fail.html . -Matt --- Sergei Dubov <[EMAIL PROTECTED]> wrote: The whole poin

Re: Checking for non-existence of environment variable

2006-01-24 Thread Matt Benson
uh... no. Try it. Then reread http://ant.apache.org/manual/CoreTasks/fail.html . -Matt --- Sergei Dubov <[EMAIL PROTECTED]> wrote: > The whole point is that ${env.NO_VALUE} will return > ${env.NO_VALUE} as > its value if it doesn't exist... > > -Serge. > > Burgess, Benjamin wrote: > > Will

Re: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
This seems to do the trick on quick test. Thanks so much! Serge. Shatzer, Larry wrote: -Original Message- From: Sergei Dubov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 12:48 PM To: user@ant.apache.org Subject: Checking for non-existence of environment variable And po

Re: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
The whole point is that ${env.NO_VALUE} will return ${env.NO_VALUE} as its value if it doesn't exist... -Serge. Burgess, Benjamin wrote: Will work for you? Ben -Original Message- From: Sergei Dubov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 3:48 PM To: user@ant.apac

RE: Checking for non-existence of environment variable

2006-01-24 Thread Burgess, Benjamin
Will work for you? Ben -Original Message- From: Sergei Dubov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 3:48 PM To: user@ant.apache.org Subject: Checking for non-existence of environment variable Hi guys, I am sure this question has been asked before. But I did my resea

RE: Checking for non-existence of environment variable

2006-01-24 Thread Shatzer, Larry
> -Original Message- > From: Sergei Dubov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 24, 2006 12:48 PM > To: user@ant.apache.org > Subject: Checking for non-existence of environment variable > > > And potential check will think it actually HAS value. Is > there any way to make