OSGI configurations for a specific environment for a specific CQ

I would like to save the Felix configurations we created in SVN and apply them to CQ in packages created by automated assembly. To do this, I followed the instructions in this OSGI CQ5 configuration document to create sling: OsgiConfig configuration nodes that go into SVN.

How to save the configuration for a specific environment? For example, I want a different logging configuration for the DEV environment than the PROD environment will use. I would like to save the configuration for and environments in SVN ideally and choose the environment in which the configuration will be used somehow based on the environment.

How can I do this - or is there another approach I should use for environment-specific configurations?

+4
source share
1 answer

To have an environment-specific configuration, you must use Run Modes in CQ5 - there is a lot of information on how to achieve this_page

Hope this helps.

+5
source

All Articles