Bertrand Delacretaz wrote:
On Feb 19, 2008 9:39 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:

...One use case is to a have a pre-defined "development" running mode
where for example logging is set to debug mode, or some configuration
settings for services are set to a more developer friendly way like
caching turned off etc....

We could simply use properties files named sling-RRRR.properties,
where RRRR is the running mode name, look for them in the current
directory and in the classpath, and override standard settings with
their values.

That sounds useful and easy to implement and use.

Yes, something along these lines. The reading part is easy :) applying the configuration might be more complicated as we have to go through the config admin service.

Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to