--- [EMAIL PROTECTED] wrote: ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java > Sun Jun 11 15:00:52 2006 > @@ -107,8 +107,7 @@ > if (isReference()) { > return getCheckedRef().toString(); > } > - return getName()!=null?("${"+getName()+"}") > - :"null"; > + return String.valueOf(getValue()); > }
What if we make PropertyResource's toString() contingent on whether the property is set. An unset property might evaluate to something like "${" + getName() + "} (unset)" and a set (immutable) property to getValue() ? -Matt __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]