ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@firstam.com>
Subject RE: System variable
Date Thu, 06 Nov 2003 21:07:03 GMT
Thanks Antoine.

-----Original Message-----
From: Antoine Lévy-Lambert [mailto:antoine@antbuild.com]
Sent: Thursday, November 06, 2003 11:49 AM
To: Ant Users List; bkumler@firstam.com
Subject: AW: System variable


<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




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


Mime
View raw message