Re: Again: Checking for non-existence of environment variable

2006-01-24 Thread Stefan Bodewig
On Tue, 24 Jan 2006, Sergei Dubov <[EMAIL PROTECTED]> wrote: > I think this is finally what I've been struggling with. It doesn't > seem to work when the env variable actually exists. Here is my > macro: > > = > > > ${env.DAVINCI_EXT} >

Re: Again: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
From: Sergei Dubov [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 5:02 PM To: Ant Users List Subject: Again: Checking for non-existence of environment variable I think this is finally what I've been struggling with. It doesn't seem to work when the env variable actually exi

RE: Again: Checking for non-existence of environment variable

2006-01-24 Thread Burgess, Benjamin
: Checking for non-existence of environment variable I think this is finally what I've been struggling with. It doesn't seem to work when the env variable actually exists. Here is my macro: = ${env.D

Again: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
: 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 research and found no answers whatsoever. Basically I am trying to check for existence of an environme

Re: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
.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 research and found no answers whatsoever. Basically I am trying to check for existence of an environment variable. And if it is not defined I want th

Re: Checking for non-existence of environment variable

2006-01-24 Thread Matt Benson
urgess, 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.apache.org > > Subject: Checking

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

Re: Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
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 research and found no answers whatsoever. Basically I am trying to check for existence of an environment variable. And if it is not defined I want the s

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

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

Checking for non-existence of environment variable

2006-01-24 Thread Sergei Dubov
Hi guys, I am sure this question has been asked before. But I did my research and found no answers whatsoever. Basically I am trying to check for existence of an environment variable. And if it is not defined I want the script to fail. ${env.NO_VALUE} Basically th