You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Carlos Quiroz <ca...@rtse.com> on 2000/08/07 14:40:28 UTC

Environment variables

Can I access environment variables within Ant?
If it so, how?

Regards

RE: Environment variables

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Carlos,

No, you can't access arbitrary environment variables. Neither can Java
itself. If you want to pass specific values in you can use ant's -D flag to
define a property.

Conor


> -----Original Message-----
> From: Carlos Quiroz [mailto:carlos.quiroz@rtse.com]
> Sent: Monday, 7 August 2000 22:40
> To: 'ant-user@jakarta.apache.org'
> Subject: Environment variables
>
>
> Can I access environment variables within Ant?
> If it so, how?
>
> Regards
>