[
https://issues.apache.org/jira/browse/SLING-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated SLING-3155:
---
Attachment: SLING-3155.patch
Here's a first shot at a patch that installs only a minimal set of bundles via
the bootstrap mechanism, and lets the OSGi installer install most bundles. The
OSGi installer can then take run modes into account, which the bootstrap
installer doesn't do.
This is not finished, see tODOs in the patch, but I won't be working on this in
the next few days and I know [~asanso] is looking at the Oak stuff, so this
patch might help if you want to finish this before I get back to it.
Also, with this patch the org.apache.sling.commons.log doesn't start, but
starting it manually from the webconsole works.
> Switch launchpad between Jackrabbit and Oak based on run modes
> --
>
> Key: SLING-3155
> URL: https://issues.apache.org/jira/browse/SLING-3155
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
>Reporter: Bertrand Delacretaz
>Assignee: Bertrand Delacretaz
> Attachments: SLING-3155.patch
>
>
> We need this to run our integration tests on both Jackrabbit and Oak.
> Using -Dsling.run.modes=jackrabbit (or oak) on the first startup of the
> launchpad runnable jar will switch.
> These run modes need to be set to be mutually exclusive and considered only
> on the first startup, we don't support switching later. We'll need to support
> upgrading a Jackrabbit repository to Oak but that's a different issue.
--
This message was sent by Atlassian JIRA
(v6.1#6144)