ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: retrieve env vars thru ant
Date Thu, 18 Oct 2001 17:14:17 GMT

----- Original Message -----
From: "Erik Hatcher" <>
To: <>
Sent: Thursday, October 18, 2001 09:06
Subject: Re: retrieve env vars thru ant

> As for JAVA_HOME, you can access it already with ${java.home}.  (although
> it'll likely have "jre" appended to what the environment variable actually
> says.)

I am not sure they are the same. JAVA_HOME usually points to the JDK base,
but java.home can refer to wherever the current JRE is, right? So if you
have the JDK but run off a JRE under Program Files then java.home can be a
long way from JAVA_HOME

> For other environment variables, have a look at <property
> />

that's what I use.

View raw message