commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [Configuration] Issue with subset and substitution
Date Tue, 30 Mar 2004 08:38:59 GMT
Jörg Schaible wrote on Tuesday, March 30, 2004 12:37 AM:

> Eric Pugh wrote:
> 
>>> If you have a closer look, it is quite obvious, why it does not
>>> work, since "subset" will mask now anything including the system
>>> properties. It seems that the values were resolved first in the
>>> previous version ... 
>>> 
>>> Comments?
> 
>> I think you are right..  I update scarab (scarab.tigris.org) to use
>> the latest, and am having subset issues there as well...
> 
> I did not want to create an issue in first place, since I was
> not sure, if such a resolving is really the "right" thing to
> do, but we should have a look at the old implementation.
> Basically I like the SubsetConfiguration a lot more than the
> old stuff. The (solved) problem with the
> HierarchicalConfiguration is also just because of a design
> flaw there and primilary not becasue of Subset itself.

Well, I had a look at the old implementation of AbstractConfiguration.subset. Originally it
created a new BasicConfiguration and copied all matching keys into it and ... explicitly called
interpolate for the values. So we have definately a compatibility problem.

Regards,
Jörg

---------------------------------------------------------------------
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