From: "Shvartsburd, Feliks" <[EMAIL PROTECTED]>

> 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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to