ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@MIROtechnologies.com>
Subject RE: Checking for non-existence of environment variable
Date Tue, 24 Jan 2006 20:49:59 GMT
> -----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


Mime
View raw message