On 3/13/07, Pablo Oliveira <pablo.oliveira@enst.fr> wrote:
On Mar 13, Vincent Massol wrote :
> We'll have to take a decision here in the future:
> 1) either we provide a configuration per component
> 2) or we provide a global configuration
>
> I prefer 1) because:
> - a component is encapsulated completely in a JAR
> - a component shouldn't  see by default configuration from other
> components. It's these other components who should offer APIs to
> return configuration data if required

I also like 1 better.

Yet I think from a user point of view, it seems more natural to edit a
single xwiki.cfg file than to edit a conf file inside some component's
JAR meta data. So I would still allow some global way of overriding
components configuration from a single configuration source.

Pablo


I also think that we need both.

--
http://purl.org/net/sergiu