The most common way of doing this is to pass the environment variables in on
the command line, using the '-D' option.
I don't know any other way of getting access to environment variables from
within the build script.
Regards
Stephen Graham.
- Original Message -
From: Perry Hunchak
You could also write your own task to read the environemt variables you.
Regards
Stephen Graham.
- Original Message -
From: Perry Hunchak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 04, 2001 12:27 AM
Subject: Using System Environment variables
Is there any way to use
- Original Message -
From: Stephen Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 10:10 AM
Subject: Re: Using System Environment variables
The most common way of doing this is to pass the environment variables in
on
the command line, using the '-D' option
Perry,
use property environment=env/
then env.Tomcat_Home.
jim
- Original Message -
From: Perry Hunchak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 3:27 PM
Subject: Using System Environment variables
Is there any way to use the system environment variables
use property environment=env/
and then just reference it as
${env.TOMCAT_HOME}
-Original Message-
From: Perry Hunchak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 10:27 AM
To: [EMAIL PROTECTED]
Subject: Using System Environment variables
Is there any way to use
hi
haven't tried on win, but this work on linux:
property environment=env/
${env.JAVA_HOME}
bye
fabian
Perry Hunchak wrote:
Is there any way to use the system environment variables (for windows)
in the build.xml file ant uses?
I currently use specify my tomcat home by pointing to the