Re: osgi system bundle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just remove the system.bundle from Require-Bundle tag in the META-INF/MANIFEST.MF file in the jar.

Regards,
Alex 

----- Original Message -----
> From: "Andy Grimm" <agrimm@xxxxxxxxx>
> To: "Aleksandar Kurtakov" <akurtako@xxxxxxxxxx>
> Cc: "java-devel" <java-devel@xxxxxxxxxxxxxxxxxxxxxxx>, "Krzysztof Daniel" <kdaniel@xxxxxxxxxx>
> Sent: Thursday, August 16, 2012 9:55:39 PM
> Subject: Re:  osgi system bundle
> 
> On Wed, Aug 15, 2012 at 4:21 PM, Aleksandar Kurtakov
> <akurtako@xxxxxxxxxx> wrote:
> >
> >
> > ----- Original Message -----
> >> From: "Andy Grimm" <agrimm@xxxxxxxxx>
> >> To: "java-devel" <java-devel@xxxxxxxxxxxxxxxxxxxxxxx>
> >> Sent: Wednesday, August 15, 2012 6:03:38 PM
> >> Subject:  osgi system bundle
> >>
> >> Hi, all.  This morning I was dealing with a build issue related to
> >> broken eclipse package, and it surprised me that eclipse was being
> >> pulled into my buildroot for a random java package.  The root of
> >> this
> >> is that osgi(system.bundle) is provided by eclipse-rcp, which
> >> requires
> >> eclipse-platform, and osgi(system.bundle) is now being required by
> >> some fairly commonly used java packages:
> >>
> >> xalan-j2-0:2.7.1-13.fc18.noarch
> >> xbean-0:3.11.1-3.fc18.noarch
> >> xml-commons-apis-0:1.4.01-7.fc18.noarch
> >> xml-commons-resolver-0:1.2-9.fc18.noarch
> >>
> >> In particular, xalan-j2 is required for pretty much the entire
> >> java
> >> ecosystem, including ant, maven, groovy, various apache-commons
> >> packages, etc.
> >>
> >> So what's the rationale for this?  Perhaps this is a bug? Maybe
> >> something needs to be subpackaged differently?  The current state
> >> of
> >> things seems a bit bloated to me.
> >
> > Well, these are bugs in the packages you mentioned. See
> > http://wiki.osgi.org/wiki/System_Bundle for description what
> > system.bundle is. There is no point in any bundle requiring
> > system.bundle unless they call stuff from org.osgi.framework which
> > neither xalan-j2 nor xml-commons do. Please open bug reports
> > against the respective packages to fix their osgi manifests.
> 
> Ok, I can open the bugs, but I'm actually the owner of xalan-j2, so
> that's just going to come right back to me. (and actually, somebody
> just emailed xalan-j2-owners about it).  :-)  Could you help me
> determine the correct way to get rid of this dep?
> 
> Thanks.
> 
> Andy
> 
> 
> > TBH, we probably can move the system.bundle provide (it's manual)
> > to eclipse-equinox-osgi. Chris, would you please take care of
> > moving this provides.
> >
> > Regards,
> > Alex
> >
> > Regards,
> > Alex
> >
> >>
> >> Thanks.
> >>
> >> Andy
> >> --
> >> java-devel mailing list
> >> java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> >> https://admin.fedoraproject.org/mailman/listinfo/java-devel
> 
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux