Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
As a result of issue FELIX-2465, an interesting issue arose due to a difference in resolver behaviour between OBR and the framework itself.
Scenario:
1) From an OBR repository I want to install bundle B, which imports package "org.foo"
2) Package "org.foo" is already exported by a resolved bundle in the framework, let's call it A.
3) For some reason OBR thinks that A is not resolvable... even though it is actually resolved by the framework. This could happen as a result of bug FELIX-2465, or because the framework's resolver is a little different to the OBR resolver (possible if running on Equinox or KF).
In this scenario, OBR will report that bundle B cannot be resolved, due to the failed resolution of A.
OBR should not attempt to resolve local resources that are already in the RESOLVED state according to the running framework. I think this could be achieved by not generating any Requirements for those resources.