So I take it you don't see any value in making all propertyhelper delegates optional, as is the case with those provided by the props antlib? Or are you concerned about adoption, or...?
-Matt --- On Thu, 9/17/09, Stefan Bodewig <[email protected]> wrote: > From: Stefan Bodewig <[email protected]> > Subject: Re: How about ${fromRefId:some-reference}? > To: [email protected] > Date: Thursday, September 17, 2009, 7:04 AM > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
