ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Accessing system variables
Date Wed, 23 Oct 2002 16:54:22 GMT

----- Original Message ----- 
From: "Christian Cryder" <christianc@granitepeaks.com>
To: "Ant-User" <ant-user@jakarta.apache.org>
Sent: Tuesday, October 22, 2002 4:32 PM
Subject: Accessing system variables


> Is there anyway to access system variables within Ant? For instance, I'd
> like to do this:
> 
>     <echo message="ANT_HOME defined as ${env.ANT_HOME}" />
> 

you mean environment variables.

<property env="env"> will import all of them with the previx env.



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message