ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: System variable
Date Thu, 06 Nov 2003 19:48:58 GMT
<property environment="env"/>
<property name="tools.jar" location="${env.JAVA_HOME}/lib/tools.jar"/>
...

-----Urspr√ľngliche Nachricht-----
Von: Bret Kumler [mailto:bkumler@firstam.com]
Gesendet: Donnerstag, 6. November 2003 20:48
An: Ant Users List
Betreff: System variable


Quick question for you guys.

The $JAVA_HOME or %JAVA_HOME% is set, how can I get this value within an ANT
script?

Is it  <property name="java.home" value="${JAVA_HOME}"/> in the build.xml or
does it need to be in the build.properties

I need to add tools.jar in a target which starts Weblogic server.

Thanks



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




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


Mime
View raw message