Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
Description
All the folders in the default magnolia.properties file are now relative to the magnolia.app.rootdir property:
magnolia.cache.startdir=${magnolia.app.rootdir}/cache
magnolia.upload.tmpdir=${magnolia.app.rootdir}/tmp
magnolia.exchange.history=${magnolia.app.rootdir}/history
magnolia.repositories.home=${magnolia.app.rootdir}/repositories
magnolia.logs.dir=${magnolia.app.rootdir}/logs
If we want to change the base location where those dirs are written, we have to change any single property listed above, since there is no way to manually set magnolia.app.rootdir to a different value (that would break any webapp-relative path).
Introducing a single configurable magnolia.basedir property which delegates by default to magnolia.app.rootdir makes things easier:
magnolia.basedir=${magnolia.app.rootdir}
magnolia.cache.startdir=${magnolia.basedir}/cache
magnolia.upload.tmpdir=${magnolia.basedir}/tmp
magnolia.exchange.history=${magnolia.basedir}/history
magnolia.repositories.home=${magnolia.basedir}/repositories
magnolia.logs.dir=${magnolia.basedir}/logs
with this, moving all the folders outside the webapp will require a single configuration, e.g.:
magnolia.basedir=/tmp/mytest
Checklists
Acceptance criteria
Attachments
Issue Links
- duplicates
-
MAGNOLIA-3840 Introduce a magnolia.home property to simplify other properties files
-
- Closed
-