[MAGNOLIA-486] multi configuration Created: 19/Jul/05  Updated: 17/Mar/09  Resolved: 26/Jul/05

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: New Feature Priority: Major
Reporter: Philipp Bärfuss Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

see: http://jira.magnolia.info/browse/MAGNOLIA-411

The same instance can have multiple configurations.

  • A context parameter defines which configuration is used.
  • The context parameter can have to placeholders: one for the servername and an other for the webapp name

Reason:
if you have a develop and life environment you must not longer change the configuration during deploying



 Comments   
Comment by Fabrizio Giustina [ 22/Jul/05 ]

A new ServletContextListener allowing multi-configuration and externalization of context parameter to properties file committed with name info.magnolia.cms.servlets.PropertyInitializer

Still not properly tested, I am leaving the issue open till a couple of junit are added (I will do that soon)

Comment by Fabrizio Giustina [ 22/Jul/05 ]

committed (well, no junit actually, but at least more manual tests and documentation).
A sample/default configuration file with a readme has been added + detailed javadocs.

As we discussed before, this can be dropped in 2.1 without replacing the original Initializer which reads from context parameters... (anyway give it a look Philipp, I think we should made it the default at least after 2.1 and remove all the xslt stuff during the maven build)

Comment by Boris Kraft [ 26/Jul/05 ]

reassigned to RC3

Generated at Mon Feb 12 03:17:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.