[
https://issues.apache.org/jira/browse/KARAF-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028780#comment-14028780
]
Freeman Fang commented on KARAF-3030:
-------------------------------------
Hi,
I just create a bundle which exactly have headers like
Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
When start Karaf with JDK7, I can't see any problem, the bundle start
successfully.
Please double check which jdk version you used to start karaf. Or you can
append your bundle here so that I can do a quick test.
Freeman
> Karaf doesn't support Require-Capability: osgi.ee;
> filter="(&(osgi.ee=JavaSE)(version=1.7))
> -------------------------------------------------------------------------------------------
>
> Key: KARAF-3030
> URL: https://issues.apache.org/jira/browse/KARAF-3030
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: ChengRen
>
> I have a bundle who's manifest contains osgi header:
> Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))
> when i run the bundle in karaf 3.0.1, I got bundle can not be resolved error :
> Error executing command: Error executing command on bundles:
> Unable to execute command on bundle 182: The bundle
> "myproject.core.api_1.0.0.201405150206 [182]" could not be res
> olved. Reason: Missing Constraint: Require-Capability: osgi.ee;
> filter="(&(osgi.ee=JavaSE)(version=1.7))"
> When I check karaf config.properties, I found
> "org.osgi.framework.system.capabilities" property which export osgi.ee.
> Is this a karaf bug??
--
This message was sent by Atlassian JIRA
(v6.2#6252)