OSGi 5 Implementation

Aleksandar Kurtakov akurtako at redhat.com
Sat Nov 16 07:46:51 UTC 2013


----- Original Message -----
> From: "Manuel Faux" <manuel.faux at conf.at>
> To: devel at lists.fedoraproject.org
> Sent: Monday, November 11, 2013 7:08:53 PM
> Subject: Re: OSGi 5 Implementation
> 
> On Mon, 11 Nov 2013 09:45:07 -0500
> Aleksandar Kurtakov <akurtako at redhat.com> wrote:
> 
> > I join late to the discussion but Equinox is the reference
> > implementation for OSGi R5. What are the problems trying to use
> > eclipse-equinox ?
> Thanks, the current eclipse-equinox-osgi package works as OGSi 5
> dependency, but unfortunately it does NOT work as OSGi 4 dependency.
> Building fails with some Java errors when I use the current equinox
> package (which provides org.eclipse.osgi_3.9.1.v20131014-1715.jar).
Equinox is R5 implementation and new major version always introduce incompatibilities so this is not surprising at all. It might be worth the effort to port to R5.

> 
> I didn't see that Equinox satisfies the OSGi 5 part, since I didn't use
> this package anymore, as soon I recognized that NetBeans does not build
> with it.

Is this still true? I know that jtulach(one of the netbeans guys) has his own equinox(like?) framework called Netbinox for usage in netbeans so you might want to get in contact with him for details. I haven't followed Netbeans in years but if you point to concrete problem I'll take a look.


Alexander Kurtakov
Red Hat Eclipse team
> 
> Manuel
> > 
> > http://projects.eclipse.org/projects/rt.equinox
> > 
> > Alexander Kurtakov
> > Red Hat Eclipse team
> > 
> > ----- Original Message -----
> > > From: "Manuel Faux" <manuel.faux at conf.at>
> > > To: devel at lists.fedoraproject.org
> > > Sent: Monday, November 11, 2013 4:31:31 PM
> > > Subject: Re: OSGi 5 Implementation
> > > 
> > > On Mon, 11 Nov 2013 12:02:07 +0100
> > > "puntogil at libero.it" <puntogil at libero.it> wrote:
> > > 
> > > > Il 11/11/2013 11:35, Manuel Faux ha scritto:
> > > > > On Mon, 11 Nov 2013 11:07:55 +0100
> > > > > "puntogil at libero.it" <puntogil at libero.it> wrote:
> > > > >
> > > > >> Il 11/11/2013 10:53, Mikolaj Izdebski ha scritto:
> > > > >>> On 11/09/2013 03:25 PM, Manuel Faux wrote:
> > > > >>>> I'm trying to build NetBeans 7.4 under Fedora, which
> > > > >>>> requires an OSGi 5 specification. NetBeans originally ships
> > > > >>>> the OSGi Alliance's specification, whose license is not
> > > > >>>> compatible with Fedora, as far as I know
> > > > >>>> (http://www.osgi.org/Download/Release5?info=nothanks).
> > > > >>> This license is clearly non-free.
> > > > > The strange thing is, that the pre-download information (the
> > > > > link above) shows a quite restrictive license, but when you
> > > > > actually download the file, the LICENSE file in the jar file
> > > > > mentions Apache License 2.0.
> > > > >
> > > > >>>> Is there any OSGi 5 implementation already in Fedora's repos
> > > > >>>> I can use for that purpose? All packages I checked so far
> > > > >>>> only support OSGi 4 (Eclipse Equinox, JBoss OSGi, Apache
> > > > >>>> Felix).
> > > > >>> Not that I know.
> > > > >>>
> > > > >>>> I found Knopflerfish, which is a OSGi 5 platform licensed
> > > > >>>> under BSD license, which would be compatible to Fedora
> > > > >>>> (http://www.knopflerfish.org/). Unfortunately this package
> > > > >>>> does not yet exist for Fedora. Building this package, would
> > > > >>>> be kind of a plan B.
> > > > >>> Knopflerfish depends on code from OSGi Alliance [1], so if
> > > > >>> that code is non-free then packaging Knopflerfish itself
> > > > >>> won't solve the problem.
> > > > >> the main knopflerfish module no, maybe other sub-modules,
> > > > >> depend on ee.minimum.jar
> > > > > I'm not so deep into OSGi frameworks, but basically we just
> > > > > need the framework, not even the complete service platform. To
> > > > > build this framework, the ee.minimum.jar is required. Is this
> > > > > the critical part
> > > > the only build dep required for build this framework is
> > > > objectweb-asm 3.x (the rest of the build deps are listed as
> > > > comment in my spec file
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=874472) before do
> > > > this assertion should be require to know what you are talking
> > > > about...
> > > My bad, the build.xml [2] of the Knopflerfish 5.0.0 framework
> > > mentions ee.minimum.jar, even it is not necessarily required (only
> > > as an extension for JDK < 7).
> > > > but i think i don't want upgrade K to 5.0.0 (OSGi R5 ri/apis,
> > > > already built on my system), the previous release are requires
> > > > for build an use some https://github.com/ops4j/ libraries (R4 and
> > > > R5 are not compatible) i apologized if my comment seem a bit hard
> > > > regards
> > > I think in this case a package of the framework would be sufficient,
> > > since it has only a few dependencies.
> > > Any complaints about this?
> > > > > depending on OSGi Alliance licensed code? If yes, how is it ever
> > > > > possible to get an OSGi 5 framework into a FOSS product?
> > > > >
> > > > >>> [1]
> > > > >>> https://knopflerfish.org/svn/knopflerfish.org/trunk/osgi/ee/ee.minimum.jar
> > > > >>>
> > > > >> regards
> > > > > Manuel
> > > > 
> > > 
> > > [2]
> > > https://www.knopflerfish.org/svn/knopflerfish.org/tags/5.0.0/osgi/framework/build.xml
> > > 
> > > Manuel
> > > --
> > > devel mailing list
> > > devel at lists.fedoraproject.org
> > > https://admin.fedoraproject.org/mailman/listinfo/devel
> > > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> 
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list