cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Commented: (CXF-1562) OSGI needed manifest modifications
Date Fri, 02 May 2008 21:08:55 GMT


Daniel Kulp commented on CXF-1562:

I don't see a Bundle-ClassPath defined at all in 2.1/2.0.6.

Also, the second thing isn't ideal.   Exporting META-INF/services is not ideal as other jars
use that as well.   For example, saaj looks for stuff in there.   Since you can only have
one plugin exporting the package in your osgi container, it kind of is less than idea.

What I'm going to do is copy the 'META-INF/services/org.apache.cxf.bus.factory' to META-INF/cxf
and have the factory check both.  services first, then the cxf dir.

> OSGI needed manifest modifications
> ----------------------------------
>                 Key: CXF-1562
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0.6
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 2.1.1
> The manifest for cxf needs to specify
> Bundle-ClassPath: .,cxf-2.0.5-incubator.jar
> and not just
> Bundle-ClassPath: cxf-2.0.5-incubator.jar
> (or whatever the jar is called now). That is add the .    (root directory)
> Also
> add
> to the Export-Package list
> The reason is that BusFactory.getBusFactoryClass can't load 'META-INF/services/org.apache.cxf.bus.factory'
from an OSGI class loader without it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message