[fedora-java] osgi system bundle

Aleksandar Kurtakov akurtako at redhat.com
Wed Aug 15 20:21:19 UTC 2012



----- Original Message -----
> From: "Andy Grimm" <agrimm at gmail.com>
> To: "java-devel" <java-devel at lists.fedoraproject.org>
> Sent: Wednesday, August 15, 2012 6:03:38 PM
> Subject: [fedora-java] 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. 
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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel


More information about the java-devel mailing list