You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/07/11 18:50:05 UTC

[jira] [Resolved] (KARAF-3092) Remove ${services-${karaf.framework}} variables from org.osgi.framework.system.capabilities

     [ https://issues.apache.org/jira/browse/KARAF-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-3092.
------------------------------------

    Resolution: Fixed

Missed this jira, but I fixed that as part of KARAF-3096

> Remove ${services-${karaf.framework}} variables from org.osgi.framework.system.capabilities
> -------------------------------------------------------------------------------------------
>
>                 Key: KARAF-3092
>                 URL: https://issues.apache.org/jira/browse/KARAF-3092
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Guillaume Nodet
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>
> The new versions of Felix maven-bundle-plugin (starting from 2.4.1 and 2.5.0) introduces a osgi.ee requirement in the META-INF generate for the client bundle.
> If it works fine with the Felix framework, this requirement is not match for Equinox framework.
> To avoid this problem, we should modify the etc/config.properties to remove the ${services-${karaf.framework}} variable from org.osgi.framework.system.capabilities, meaning that:
> {code}
> org.osgi.framework.system.capabilities= \
>  ${eecap-${java.specification.version}}, \
>  service-reference;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \
>  service-reference;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \
>  service-reference;effective:=active;objectClass=org.osgi.service.url.URLHandlers, \
>  ${services-${karaf.framework}}
> {code}
> becomes
> {code}
> org.osgi.framework.system.capabilities= \
>  ${eecap-${java.specification.version}}, \
>  service-reference;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \
>  service-reference;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \
>  service-reference;effective:=active;objectClass=org.osgi.service.url.URLHandlers
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)