-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems resolving provisioning plan with osgi.contract #322
Comments
It would help if there was some context for the question. What is pulling in the Much of was discussed about the Are we again trying to pull in |
You can go to https://ci.eclipse.org/platform/job/eclipse.platform.releng.aggregator/job/master/1535/console then show the "plain text" and search for |
I have the latest I-Build installed |
@tjwatson thats why I opened a P2 issue here it might be that P2 tries to resolve the IU but it is actually never used and therefore there is a warning, but the warning is annoying as it fills the log and leaves the user suspicious that there might be some problem. |
I've also seen this warning when launching the SDK from an Eclipse workspace reported by the PDE Launch validation, so I don't think that's a P2 issue but something really requires it. It reminded me as well about the issue Tom mentioned (maybe a good motivation to really complete the work and almost completly empty |
Currently we have the official org.osgi.service.http.whiteboard jar from Maven-Central in the target (it was added in eclipse-platform/eclipse.platform.releng.aggregator#235) It looks like it somehow changed which one is selected eventually by P2 respectively PDE, but I have no immediate idea why? The only real consumer in the platform seems to be @tjwatson should we just continue with your suggestion from eclipse-platform/eclipse.platform.releng.aggregator#239 (comment) and add a fragment for the capability. This would also allow us to finally remove the |
I found that the problem is not that P2 does not understand it but how the slicer works, it tries to satisfy everything but if something is not satiable it gives a warning... still in the end the thing might not be needed at all.... |
In platform builds we see a lot of these warnings
it seems for some reason P2 does not understand the
osgi.contract
... and if it does I'm curious why this is a WARNING and not an ERROR? Because at runtime it would mean that the bundle can not be resolved (@bjhargrave @tjwatson please correct me if I'm wrong) if there is really no provider for the required contract.The text was updated successfully, but these errors were encountered: