[
https://issues.jboss.org/browse/LOCUS-39?page=com.atlassian.jira.plugin.s...
]
Mickael Istria commented on LOCUS-39:
-------------------------------------
{quote}I am also curious why we don't use inclusion of actual jar inside bundle and
then expose it through OSGi, for examle like that
https://github.com/jbosstools/jbosstools-locus/compare/jbosstools:master.....
Are there any class loading related problems?{quote}
This has an extra cost on Equinox performances. It's the main reason why Orbit does
this as well. Also, nested jars can confuse PDE which doesn't add them correctly in
the classpath and so on.
So overall, it's not as good aa repackaging in plain OSGi.
Consider using Eclipse Bundle Recipes (EBR)
-------------------------------------------
Key: LOCUS-39
URL:
https://issues.jboss.org/browse/LOCUS-39
Project: JBoss Tools Locus
Issue Type: Enhancement
Reporter: Mickael Istria
I've had the opportunity to attend a presentation about EBR, a technology to turn
plain jars from Maven as OSGi bunle (generating MANIFEST, source bundle, p2 metadata...).
I have the impression that it fits quite nicely most of our Locus bundles, we should
consider adopting it.
More background about EBR:
*
http://www.eclipse.org/ebr
*
http://de.slideshare.net/guw/tasty-recipes-for-osgi-bundles
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)