You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Erik Grøntoft Dybdahl <er...@tellus.no> on 2000/09/18 16:05:54 UTC

accessing environment variables

Hello,
How do you access environment variables from inside build.xml?
erik.



Re: accessing environment variables

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "EGD" == Erik Grxntoft Dybdahl <er...@tellus.no> writes:

 EGD> How do you access environment variables from inside build.xml?

You can't because Java can't. You'll have to copy them into properties
when invoking Ant - which can be automated inside a script.

Stefan