[jbosstools-issues] [JBoss JIRA] (LOCUS-39) Consider using Eclipse Bundle Recipes (EBR)

Mickael Istria (JIRA) issues at jboss.org
Tue Jul 7 03:39:03 EDT 2015


    [ https://issues.jboss.org/browse/LOCUS-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087029#comment-13087029 ] 

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...dgolovin:locus-dmg-question?expand=1. 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)


More information about the jbosstools-issues mailing list