You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Sarkar, Sudipta" <Su...@workscape.com> on 2002/04/10 22:53:48 UTC
Environment variables
Hi,
How do I access an environment variable in my build.xml file. e.g
I have an env variable - ORACLE_HOME
I want to have something like
<target name=init>
<property name="ora.home" value="ORACLE_HOME" />
</target>
Here I want to set the value of the property ora.home to environment variable ORACLE_HOME.
I am using windows 2000. Will the syntax be different on UNIX ?
Thanks
Sudipta Sarkar
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>