ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16799] - cope with (un-)set environment variables when setting properties to them
Date Wed, 05 Feb 2003 11:43:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16799

cope with (un-)set environment variables when setting properties to them

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From bodewig@apache.org  2003-02-05 11:43 -------
You are looking for

<property environment="env"/>
<property name="env.ENV" value="default-value"/>

if ENV exists, property immutability makes the second one a no-op.  Otherwise
you get the default value.

Mime
View raw message