ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: embedded (or nested) properties
Date Sun, 02 Sep 2001 00:56:33 GMT
Well I can say that the idea has been proposaed and rejected at least 4 times 
in my memory. However there is always the possibility that we can change our 
minds. My suggestion to you would be to send it along with [PATCH] prefix and 
that way we at least have access to it in the archives ;)

On Sun, 2 Sep 2001 09:41, Alejandro Abdelnur wrote:
> in a previous email i've suggested an enhancement to the property task,
> adding an "eval" attribute to do resolve property names on the fly.
>
> somebody (stephane baillez) replied asking if what i meant was nested
> properties evaluation, yeap that was what i was after.
>
> i've modified the replaceProperties method from the
> org.apache.tools.antProjectHelper class of Ant1.4B2 to support nested
> evaluation.
>
> for example:
>
>         <property name="a" value="A"/>
>         <property name="c" value="C"/>
>         <property name="bC" value="BC"/>
>         <property name="aBC" value="ABC"/>
>
>         <echo message="${a${b${c}}}"/>
>
> resolves to "ABC"
>
>
> interested in integrating this into ant's code base ?
>
>
> i'm not familiar with the dynamic of this alias (just joined last week).
> i've already sent an email with some suggestions for enhancements, a couple
> of you replied but not closure was given to it.
>
> is there any proposal process i'm not aware of ?
>
> thxs and regards.
>
> a

-- 
Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message