ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Christopherson <da...@nvisia.com>
Subject Re: System variable
Date Thu, 06 Nov 2003 19:57:15 GMT
the 'java.home' property seems to be set by ant itself, and sometimes points to a JRE directory
- 
don't use it for this!



Bret Kumler wrote:
> 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