what running modes do you have in mind? if just 'DEBUG' and 'NORMAL' i
suggest to
use system properties.

regards, toby

On 2/19/08, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> 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]
>


-- 
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to