ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Environment Variables
Date Wed, 11 Oct 2000 13:03:30 GMT
>>>>> "LB" == Luca Botti <luca.botti@jumpystaff.it> writes:

 LB> Is there any way to have ant "see" envirnoment vars and set
 LB> properties accordingly?

Ant can't because Java can't. You'll need to write your own wrapper
script that takes all environment variables and calls Ant with
-DENVVAR=${ENVAR} or -DENVVAR=%ENVVAR%.

Stefan

Mime
View raw message