ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <...@purematrix.com>
Subject Re: recursive expansion of property names
Date Thu, 24 Jun 2004 18:00:17 GMT
Jeffrey Bacon wrote:

> Can I effect the below behavior somehow to get it to print 'hello'?
>
> <property name="prop1" value="prop2" />
> <property name="prop2" value="hello" />
> <echo>${{prop1}}</echo>

Yes, with the patch attached to

     http://issues.apache.org/bugzilla/show_bug.cgi?id=29347

I think the real Ant gurus are still wondering whether this breaks something, but it works
for me.
However, I do not chain property helpers so am not entirely sure what the impact is. I didn't
see
any in what I did, but I may have missed channelling of parsing through an inherited method
to
enable chaining. I looked for it but didn't notice anything I seemed to be neglecting.

--
Jack J. Woehr      # We have gone from the horse and buggy
Senior Consultant  # to the moon rocket in one lifetime, but
Purematrix, Inc.   # there has not been a corresponding moral
www.purematrix.com # growth in mankind. - Dwight D. Eisenhower




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message