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:[EMAIL PROTECTED] 
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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to