[
http://issues.ops4j.org/browse/PAXEXAM-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887#action_12887
]
Toni Menzel commented on PAXEXAM-120:
-------------------------------------
well, its a range that includes the (indeed) exportet package 1.5.
Probably Felix has a bug in its resolver ? Have you tried Felix 2.0 and/or
Equinox ?
Will try myself later.
> Pax exam 1.1 configured with Felix 1.8 does not support org.osgi.framework 2.0
> ------------------------------------------------------------------------------
>
> Key: PAXEXAM-120
> URL: http://issues.ops4j.org/browse/PAXEXAM-120
> Project: Pax Exam
> Issue Type: Bug
> Reporter: Charles Moulliard
> Assignee: Toni Menzel
>
> Hi,
> I have created using pax exam a unit test for my project. Unfortunately, one
> of my bundle requires this dependency
> org.osgi.framework.BundleException: Unresolved constraint in bundle 43:
> package;
> (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))ERROR:
> Error starting file:bundles/blueprint-bundle_1.0.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle 43:
> package; (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0))))
> [SpringOsgiExtenderThread-4] INFO
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext -
> Refreshing
> org.springframework.osgi.context.support.osgibundlexmlapplicationcont...@1ba94d:
> display name
> [OsgiBundleXmlApplicationContext(bundle=com.xpectis.x3s.x3s-service,
> config=osgibundle:/META-INF/spring/*.xml)]; startup date [Mon Sep 14 16:57:35
> CEST 2009]; root of context hierarchy
> [SpringOsgiExtenderThread-4] INFO
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext -
> Unpublishing application context OSGi service for bundle x3s-service
> (com.xpectis.x3s.x3s-service)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3097)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> at java.lang.Thread.run(Thread.java:619)
> which is not supported if I add in the configuration options (mavenBundle).
> mavenBundle("org.osgi","org.osgi").version("2.0.0"),
> Is there any workaround ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general