[
https://issues.apache.org/jira/browse/OAK-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049829#comment-14049829
]
Chetan Mehrotra commented on OAK-1896:
--------------------------------------
As I [mentioned|http://markmail.org/message/b6jr6x6tuefkni6x] in that thread
following points prevent us from using OSGi
# JR2 is not OSGi friendly and we use some of the internal classes for upgrade
which would be problematic in OSGI
# For debug and console we rely on some non exported packages. Using them in
OSGi would again be tricky
> Move JR2 specific logic from oak-run to separate module
> -------------------------------------------------------
>
> Key: OAK-1896
> URL: https://issues.apache.org/jira/browse/OAK-1896
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: run
> Affects Versions: 1.0
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Fix For: 1.1
>
> Attachments: OAK-1896.patch
>
>
> Currently oak-run module packages quite a few tools (benchmark, server,
> console, upgrade etc). Some of these like benchmark and upgrade require JR2
> binaries embeded within oak-run.
> This causes conflict with oak-lucene as it requires Lucene 4.x while JR2
> requires Lucene 3.x. It would be simpler to move JR2 specific logic to a
> different module (oak-jr2?) and let oak-run use all modules of oak
> [1] http://markmail.org/thread/ekyvuxxvdnbtsjkt
--
This message was sent by Atlassian JIRA
(v6.2#6252)