ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Check for environment variable existence
Date Thu, 06 Dec 2001 11:38:30 GMT
On Thu, 6 Dec 2001, Hannes van der Merwe <Hannesv@meb.co.za> wrote:

> What is the best way to check if the environment variable:
> "CLASSPATH" is set or not?

<property environment="env" />

now either env.CLASSPATH exists or it doesn't and you can use
if/unless attributes based on it.

Stefan

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


Mime
View raw message