You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/02/05 12:43:51 UTC
DO NOT REPLY [Bug 16799] -
cope with (un-)set environment variables when setting properties to them
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.