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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>