[
https://issues.apache.org/jira/browse/CMIS-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000330#comment-13000330
]
Felix Meschberger commented on CMIS-324:
----------------------------------------
>From the peanut gallery ;-)
* Whether you use Tycho or Maven Bundle Plugin doesn't matter to the end user.
What is important is, that the bundles run in any standard OSGi container. Thus
using buddy class loading is probably a no-go...
* If you have a need to extension and need to load classes use
ClassLoader.loadClass (instead of Class.forName) and use the extender pattern:
have the SPI implementation defined in the META-INF/services/xxxx files and do
something similar to what ServiceMix does for bundle-wrapping XML libraries.
See http://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/locator/
> 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