On 2009-09-04, Stefan Bodewig <[email protected]> wrote:
> I suggest to add another core PropertyEvaluator that works like the one
> for toString but doesn't invoke toString() on the reference (but leaves
> that to IntrospectionHelper if necessary).
It is in with svn revision 816153
> As usual, I'm unsure about the name of the prefix
Combining Gilles' and Jan's feedback it is ${ant.refid:foo}.
Given that this property evaluator is the very first one added to
PropertyHelper it will be the last one consulted. This reduces the
possibility of collisions - if anybody used properties with
ant.refid:foo in her build file, this file will work as before with
current trunk. Only if a build file relied on ${ant.refid:foo} to not
expand to anything and a reference named "foo" exists there will now be
a change of behavior.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]