ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <shenne...@goldenhourdata.com>
Subject RE: env value for JAVA_HOME
Date Wed, 14 May 2003 20:32:44 GMT
<!-- load system environment variables -->
<property environment="env"/>

<!-- You can examine what properties are loaded with -debug output
Eg:
[snip]
Setting project property: env.JAVA_HOME -> C:\Tools\j2sdk1.4.1_02
Setting project property: env.ANT_CMD_LINE_ARGS -> -debug
proj.doc -buildfile build.xml -logfile build-dbg.log
Setting project property: env.ANT_HOME -> C:\Tools\apache-ant-1.5.3-1
[snip]
-->

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

-----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