commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@t-online.de>
Subject Re: [lang] text.Interpolation, on to 2.2
Date Sat, 25 Jun 2005 14:46:16 GMT
I am interested in this topic, too, because I want to implement enhanced 
interpolation suport for [configuration].

I already had a look at the available Interpolation class, but it lacks 
some features I need. So I wrote something myself which is similar to 
the interpolation engine of digester, but is based on the interpolation 
method that existed in configuration. The code and a unit test can be 
found at the following bugzilla ticket:

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

Oliver

Simon Kitching wrote:

>I'm willing to do some work on this. I'll need to see what's in lang at
>the moment though...at least some of the code came originally from
>Digester so I feel responsible for knocking it into shape for lang!
>
>Cheers,
>
>Simon
>
>On Fri, 2005-06-24 at 06:34 -0400, Steven Caswell wrote:
>  
>
>>Though I don't really have bandwidth to help with it, I am +1 on
>>moving forward with Interpolation being a motivation for the next
>>release.
>>
>>On 6/23/05, Gary Gregory <ggregory@seagullsoftware.com> wrote:
>>    
>>
>>>Hello:
>>>
>>>Is anyone planning on working on text.Interpolation in the near future?
>>>
>>>It seems like a logical candidate and a motivation for the next release.
>>>
>>>Where does the class come from and does it make sense to simply extract
>>>some code out of Ant.
>>>
>>>I could see a subclass dealing specifically with this. Something like:
>>>
>>>Interpolation si = new SystemPropertyInterpolation();
>>>// replace all system property in ${} with real values.
>>>string = si.interpolateAll(string);
>>>
>>>The class name does seem a little pedantic to me, but eh, I can't come
>>>up with something more succinct right now ;-)
>>>
>>>Thoughts?
>>>
>>>Thanks,
>>>
>>>Gary
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message