ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoshimitsu, Stacy D." <SYOSHIMI...@northropgrumman.com>
Subject RE: env value for JAVA_HOME
Date Wed, 14 May 2003 20:30:20 GMT
Try this...

<property environment="env" />    

<property name="java.home"    value="${env.JAVA_HOME}" /> 
<echo message="java.home  = ${java.home}" /> 

OR

<echo message="JAVA_HOME  = ${env.JAVA_HOME}" />

Stacy

-----Original Message-----
From: David Thielen [mailto:dave@thielen.com]
Sent: Wednesday, May 14, 2003 1:10 PM
To: 'Ant Users List'
Subject: env value for JAVA_HOME


Hi;

Is there an Ant variable that will give me the JAVA_HOME? I need to get the
jre .jar files from that for my classpath.

thanks - dave

Mime
View raw message