ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergei Dubov <sdu...@gmail.com>
Subject Re: Checking for non-existence of environment variable
Date Tue, 24 Jan 2006 20:59:37 GMT
This seems to do the trick on quick test.

Thanks so much!

Serge.

Shatzer, Larry wrote:
>>-----Original Message-----
>>From: Sergei Dubov [mailto:sdubov@gmail.com] 
>>Sent: Tuesday, January 24, 2006 12:48 PM
>>To: user@ant.apache.org
>>Subject: Checking for non-existence of environment variable
>>
>>
>>And potential <available> check will think it actually HAS value. Is 
>>there any way to make Ant recognize that System.getenv("NO_VALUE") 
>>returns null?
> 
> 
> Check http://ant.apache.org/manual/CoreTasks/condition.html
> And specifically, isset found in: 
> http://ant.apache.org/manual/CoreTasks/conditions.html
> 
> -- Larry
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message