[jira] [Updated] (SLING-3155) Switch launchpad between Jackrabbit and Oak based on run modes

2013-10-21 Thread Bertrand Delacretaz (JIRA)

 [ 
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

Updated SLING-3155.patch that fixes a few problems in the bundles list.xml

Requires the SLING-3196 patch, with that applied the switch between jackrabbit 
and oak run modes works, with some failed integration tests due to a few 
remaining Oak-related issues:

Tests run: 516, Failures: 51, Errors: 8, Skipped: 0

> 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, 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)


[jira] [Updated] (SLING-3155) Switch launchpad between Jackrabbit and Oak based on run modes

2013-10-09 Thread Bertrand Delacretaz (JIRA)

 [ 
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)