commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathan doklovic <>
Subject Re: Commons Config Interpolation not working
Date Wed, 19 Mar 2008 16:21:57 GMT
I actually solved this and a few other "issues".

Basically we have a singleton that extends CombinedConfiguration.

In our class, I was able to override a few different methods to get
property expansion working as well as make it a little more intuitive by
doing things like overriding getProperty to check if the prop is a
string value and returning the expanded version.

There are a few other tweaks I made, so I'll create a blog post about it
and post the link here when I'm done.


- Jonathan

On Fri, 2008-03-07 at 21:08 +0100, Emmanuel Bourg wrote:
> Oliver Heger a écrit :
> > This is a frequently asked question. Maybe we should change something to 
> > make this more obvious?
> I can't see what we can do at the API level besides renaming the method 
> (getNotInterpolatedProperty() ? it doesn't look great...). The best 
> would be to improve the documentation by adding a FAQ page.
> Emmanuel Bourg
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message