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 10404] - The way in which property values are used can at times be very unintuitive
Date Thu, 11 Jul 2002 19:33:31 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=10404>.
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=10404

The way in which property values are used can at times be very unintuitive





------- Additional Comments From holtdl@yahoo.com  2002-07-11 19:33 -------
<condition property="socket.server1.3302">
...                         ^^^^^^^^^^^^
</condition>
<property name="socket.mscdev1.3301" value="false"/>
                       ^^^^^^^^^^^^

Except these should actually be the same (not being nit-picky -- just trying to 
avoid any further confusion).

IOW: The way to conditionally set a default value for a property is to let 
<condition> have a shot at setting it first, then have a <property> that sets

it to the default value. If the property was in fact set by <condition>, the 
<property> that has the default value will be a no-op, since <property> won't

set a property that's already set.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message