Ansgar Konermann wrote:
Am 25.07.2011 22:13, schrieb Daniel Serodio (lists):
Do you think using a classifier to differentiate artifacts built for
development and production is "hacky", is is this an appropriate
solution?
Use the same *artifacts* for all stages and allow for *configuring* the
relevant properties of your application at runtime/startup time, as much
as possible.
A common mechanism to configure things at runtime is using JNDI parameters.
I'mconsidering changing our build process. Setting up the DB using JNDI
is easy enough, but how do you suggest we deal with different logging
configurations, which differ not only on some values, but structure (ie
log4j Loggers and Appenders with different classes, file paths and
severity thresholds) ?
Regards,
Daniel Serodio
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]