[
https://issues.apache.org/jira/browse/CXF-5703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-5703.
------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Assignee: Christian Schneider
Already resolved for 3.0
> Make CXF OSGi Blueprint implementation neutral (not depending on Apache Aries
> namespace handler)
> ------------------------------------------------------------------------------------------------
>
> Key: CXF-5703
> URL: https://issues.apache.org/jira/browse/CXF-5703
> Project: CXF
> Issue Type: Bug
> Components: OSGi
> Affects Versions: 2.7.11, 2.6.14
> Reporter: samz2000
> Assignee: Christian Schneider
> Priority: Minor
> Fix For: 3.0.0
>
>
> In order to use Blueprint in Eclipse OSGi environment, I have to use Apache
> Aries, because the *.xml defined in OSGI-INF/blueprint requires namespace
> handler from Apache Aries. I cannot use Eclipse's Blueprint implementation
> Gemini. Can these *.xml defined in a way implementation neutral? So that, if
> somebody uses Karaf/Felix, they prefer Apache Aries; somebody else uses
> Eclipse Equinox, they prefer Gemini.
> For example, osgiservlet.xml relines on
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
> {code}
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
> xsi:schemaLocation="
> http://www.osgi.org/xmlns/blueprint/v1.0.0
> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
> <cm:property-placeholder persistent-id="org.apache.cxf.osgi"
> id="cxfOsgiProperties">
> <cm:default-properties>
> <cm:property name="org.apache.cxf.servlet.context" value="/cxf"/>
> <cm:property name="org.apache.cxf.servlet.name"
> value="cxf-osgi-transport-servlet"/>
> <cm:property name="org.apache.cxf.servlet.hide-service-list-page"
> value="false"/>
> <cm:property name="org.apache.cxf.servlet.disable-address-updates"
> value="false"/>
> <cm:property name="org.apache.cxf.servlet.base-address" value=""/>
> <cm:property name="org.apache.cxf.servlet.service-list-path" value=""/>
> <cm:property name="org.apache.cxf.servlet.static-resources-list"
> value=""/>
> <cm:property name="org.apache.cxf.servlet.redirects-list" value=""/>
> <cm:property name="org.apache.cxf.servlet.redirect-servlet-name"
> value=""/>
> <cm:property name="org.apache.cxf.servlet.redirect-servlet-path"
> value=""/>
> <cm:property name="org.apache.cxf.servlet.service-list-all-contexts"
> value=""/>
> <cm:property
> name="org.apache.cxf.servlet.service-list-page-authenticate" value="false"/>
> <cm:property
> name="org.apache.cxf.servlet.service-list-page-authenticate-realm"
> value="karaf"/>
> </cm:default-properties>
> </cm:property-placeholder>
> <bean id="destinationRegistry"
> class="org.apache.cxf.transport.http.DestinationRegistryImpl"/>
> .....
> {code}
> I originally had a research to bring in CXF into Eclipse Equinox which causes
> a lot of struggle, see http://www.eclipse.org/forums/index.php/t/687219/.
--
This message was sent by Atlassian JIRA
(v6.2#6252)