You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florent Guillaume (JIRA)" <ji...@apache.org> on 2011/02/28 15:39:36 UTC
[jira] Issue Comment Edited: (CMIS-324) OpenCMIS OSGI evolution and
build support (Felix vs Tycho)
[ https://issues.apache.org/jira/browse/CMIS-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000308#comment-13000308 ]
Florent Guillaume edited comment on CMIS-324 at 2/28/11 2:37 PM:
-----------------------------------------------------------------
The code uses in a number of places {{Class.forName}} which is problematic in an OSGi environment.
For instance {{CmisBindingsHelper}} uses it for the SPI class. To have this work in an OSGi runtime you need to have the contributed classes (which can pull a lot of dependencies) be some kind of fragment or buddy. I wonder if there's a better way to do it.
was (Author: fguillaume):
The code use in a number of places {{Class.forName}} which is problematic in an OSGi environment.
For instance {{CmisBindingsHelper}} uses it for the SPI class. To have this work in an OSGi runtime you need to have the contributed classes (which can pull a lot of dependencies) be some kind of fragment or buddy. I wonder if there's a better way to do it.
> OpenCMIS OSGI evolution and build support (Felix vs Tycho)
> ----------------------------------------------------------
>
> Key: CMIS-324
> URL: https://issues.apache.org/jira/browse/CMIS-324
> Project: Chemistry
> Issue Type: Task
> Components: build&release
> Affects Versions: 0.2.0-incubating
> Reporter: Gabriele Columbro
> Assignee: Gabriele Columbro
> Priority: Minor
> Fix For: OpenCMIS 1.0
>
>
> Forked from https://issues.apache.org/jira/browse/CMIS-322 to discuss OSGI support in OpenCMIS.
> Status (after 0.2.0-incuating):
> all modules are OSGI enabled with the maven-felix-plugin:
> To discuss:
> what's the best option to build OSGI bundles, distribute and update the Maven (2/3) build accordingly?
> See also comments pasted below.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira