I am able to reproduce. I opened
bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=145067 to track the issue.
The issue is the resolver does not properly handle when an export
is dropped as a result of importing the package from another bundle. This
causes us to inaccurately flag a uses conflict while processing other imports
for the bundle.
Niclas Hedhman <niclas@xxxxxxxxxxx> Sent by: equinox-dev-bounces@xxxxxxxxxxx
06/02/2006 08:40 AM
Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
[equinox-dev] Problem with "uses"
I have been reading p46 of R4 spec over and over again, and I think I have
found a problem in Equinox, but need some clarification if my thinking
Equinox reports the following message;
org.osgi.framework.BundleException: The bundle could not be resolved.
Missing Constraint: Import-Package: org.knopflerfish.service.log;
version="0.0.0", Package uses conflict: Import-Package: org.osgi.service.log;
version="0.0.0", Missing Constraint: Import-Package: org.osgi.service.log;
IIUIC, the spec agrees with me when I think that this is no a conflict
situation at all.
Furthermore, if I load pax-logging-service before org.eclipse.osgi.services,
there are also no constraint conflict.
Can anybody share some light on what is happening??
equinox-dev mailing list