ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarkar, Sudipta" <Sudipta.Sar...@workscape.com>
Subject Environment variables
Date Wed, 10 Apr 2002 20:53:48 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message