[
https://issues.apache.org/jira/browse/CXF-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593889#action_12593889
]
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: https://issues.apache.org/jira/browse/CXF-1562
> 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
> META-INF.services
> 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.