----- 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.
>
> I don't know any other way of getting access to environment variables from
> within the build script.
>
<property environment="env"/>
will give you a property named "env.TOMCAT_HOME" for the environment
variable "TOMCAT_HOME". It can then be referenced using ${env.TOMCAT_HOME}.
Nico