ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Setting environment variables with ant?
Date Tue, 07 Jan 2003 16:46:49 GMT
Huh?

Klara asked if it was possible to *set* environment variables with Ant. 
  That page refers to the environment variables that the Ant wrapper 
scripts use.

No, its not really possible to set environment variables within Ant 
that persist outside its execution - at least not in a cross-platform 
way.  But launching programs from within Ant can take on new 
environment variables for the duration of that spawned execution.

	Erik


On Tuesday, January 7, 2003, at 11:38  AM, Erik Price wrote:
> Yes, see this page:
> http://jakarta.apache.org/ant/manual/running.html#envvars
>
>
> Erik
>
> Klara Ward wrote:
>> Is it possible to set environment variables with ant?
>> /klara
>> -- 
>> To unsubscribe, e-mail:   
>> <mailto:ant-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <mailto:ant-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
>
>


--
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