Config layout
Tom Zeller
tzeller at dragonacea.biz
Sun Nov 3 16:52:40 EST 2013
> I tend to like configuration under META-INF,
> which is arguably a growing convention (JPA, CDI specs come to mind),
> but I can admit it's just more path elements to traverse without much
> value other than possibly convention.
Scott had proposed
system/conf
user/conf
which I massaged to
internal/conf
conf
which actually might could be
classpath:META-INF/conf
file:$IDP_HOME/conf
Meaning : hide files that should not be changed in the war, and look
to the filesystem at $IDP_HOME/conf for user configuration. That way,
the deliverable, the war, would not contain files that should be
changed by a deployer.
If at first run the IdP looks to $IDP_HOME/conf, and finds an empty
directory or whatever breadcrumbs we leave behind, it could prompt the
user to install or update, etc.
More information about the dev
mailing list