ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baz" <ba...@goodconsultants.com>
Subject validate paths and environment valuables?
Date Mon, 15 Dec 2003 06:47:25 GMT
All,

How can I validate environment valuables in ant build.xml? For example, how
can i make the following condition?

If $JAVA_HOME exists, then assign property name XXX to value of $JAVA_HOME?

Once I got it, then how can i validate the value of $JAVA_HOME to see if the
path indeed exists?

Thanks

Barry


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


Mime
View raw message