ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn McAllister" <gle...@ca.ibm.com>
Subject Re: refid in property
Date Wed, 27 Sep 2000 12:30:01 GMT


Yep.  We've consistently used refid to mean "stuff the value from the
object refered to by this id into whatever makes sense for me."  What
you've described follows that model nicely.

Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey


Please respond to ant-dev@jakarta.apache.org

To:   ant-dev@jakarta.apache.org
cc:
Subject:  Re: refid in property

Would one expect that given

<property name="dummy" id="dummyId" value="test" />

the following two constructs yield the same result

<property name="dummy2" value="${dummy}" />
<property name="dummy2" refid="dummyId" />

i.e. should Property get a toString method returning the value of the
property?

Stefan

PS: Vincent, please send a "diff -u" next time, a lot easier to apply
than copy/pasting code.




Mime
View raw message