ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: retrieve env vars thru ant
Date Thu, 18 Oct 2001 16:06:31 GMT
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.)

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

    Erik


----- Original Message -----
From: "Arulazi Dhesiaseelan" <aruld@india.hp.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, October 18, 2001 11:03 AM
Subject: retrieve env vars thru ant


> Hi
> I would like to retrieve the enviroment variables that are already set.
> How to retrieve it through Ant. For example, I need to retrieve
> JAVA_HOME enviroment variable, which has been set to
> JAVA_HOME=C:\jdk1.31.
>
> Thanx in advance.
>
> With regards
> Arul
>
>


Mime
View raw message