-
Assume I have a running Equinox framework and there is a bundle that cant be resolved, when I then try to start that bundle (programmatically) it gives a BundleException with some formatted message about why it can't be resolved. What I'm looking for is (maybe using internal Equinox API) to get a more structured report than a string I need to parse to pass that into an additional analysis step, is there such method in Equinox? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
And usage for the OSGi console |
Beta Was this translation helpful? Give feedback.
-
@tjwatson I see that in case of use-constraint violations one only gets the |
Beta Was this translation helpful? Give feedback.
See https://github.com/eclipse-equinox/equinox/blob/master/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/report/resolution/ResolutionReport.java
And usage for the OSGi console
diag
command:equinox/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java
Lines 2022 to 2034 in bb97960