You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2002/04/01 21:06:53 UTC
RE: [myrmidon] -ref vs ${}
Well, it seems to me that the antcontrib <propertycopy> task pretty much
allows you to do what the "-ref" attribute version does, i.e. "recursive"
variable, as discussed last week by Diane, Erik, and others. I see no value
in attr-ref="aProperty" compared to attr="${aProperty}"... It makes it less
obvious you are de-referencing the property in fact. The only value it would
add would be to allow attr-ref="${aProperty-name}", equivalent to the
illegal attr="${${aProperty-name}}". But as Diane pointed out, you can do
that with <propertycopy> already.
So even though my vote does count, I'd say -1 ;-)
--DD
-----Original Message-----
From: Peter Donald [mailto:peter@apache.org]
Sent: Saturday, March 30, 2002 10:03 PM
To: Ant Developers List
Subject: [myrmidon] -ref vs ${}
Hi,
I just wanted to get peoples opinion on something I been playing with.
Currently in myrmidon the followin attributes will get identical values
myAttribute="${value}"
myAttribute-ref="value"
My question is do we need to support the "-ref" version of attribute
evaluation or is the first sfficient for all our use cases?
--
Cheers,
Pete
"You know what a dumbshit the 'average man' on the street is? Well, by
definition, half of them are even dumber than that!"
J.R. "Bob" Dobbs
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>