So, does that suggest that SubsetConfiguration needs to also call the
interpolate?

Eric

> -----Original Message-----
> From: Jörg Schaible [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 30, 2004 9:39 AM
> To: Jakarta Commons Developers List
> Subject: RE: [Configuration] Issue with subset and substitution
>
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to