You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sirona.apache.org by Olivier Lamy <ol...@apache.org> on 2013/11/11 05:59:13 UTC

Configuration properties loading order

Hi,
Currently system props are loaded first then override by configuration.
I tend to believe it's more intuitive to have it in the opposite order.
Especially in the case some properties files are stored in artifacts
(jar/war etc...)

Properties files first then System properties override.

WDYT?

Cheers,
-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: Configuration properties loading order

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Ok, go! (note: the idea was more a merge/add than an override)
Le 11 nov. 2013 07:00, "Olivier Lamy" <ol...@apache.org> a écrit :

> Hi,
> Currently system props are loaded first then override by configuration.
> I tend to believe it's more intuitive to have it in the opposite order.
> Especially in the case some properties files are stored in artifacts
> (jar/war etc...)
>
> Properties files first then System properties override.
>
> WDYT?
>
> Cheers,
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>