ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Re: How ANT referencing system environmental variables.
Date Fri, 30 Nov 2001 23:41:44 GMT
From: "Shvartsburd, Feliks" <Feliks.Shvartsburd@kmv.com>

> I'm sorry that this migth be worng place for me. The only reason I asked
> that question is that I need to do the same thing oin my program and I don't
> really knwo how? And I know that ANT does it. All I need to know is how?
> Thanks

The way ANT does it is by executing a command in an external process that
lists the environment variable values. And then parses the output of the command.

Jose Alberto

> 
> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org]
> Sent: Friday, November 30, 2001 3:17 PM
> To: Ant Developers List
> Subject: Re: How ANT referencing system environmental variables.
> 
> 
> On Sat, 1 Dec 2001 10:19, Shvartsburd, Feliks wrote:
> > Does anyone know how ANT does it?
> 
> This is not really an ant-dev question so in future could you use ant-user 
> for such questions. 
> 
> To see how to get env vars look at the documentation for property 
> (specifically the environment attribute)
> 
> -- 
> Cheers,
> 
> Pete
> 
> --------------------------------------------------
>  Where ignorance is bliss, 'tis folly to be wise.
> --------------------------------------------------
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 


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


Mime
View raw message