You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Baz <ba...@goodconsultants.com> on 2003/12/15 07:47:25 UTC

validate paths and environment valuables?

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