I need to check whether certain bundles loaded at startup inside my RCP Application. I know there is a "Host OSGi Console" that shows the states of all Plug-Ins within the Eclipse IDE, but I am not interested in those.
I performed the following steps to get the OSGi Console of my application itself:
Added the Plug-In "org.eclipse.equinox.console"
Created a OSGi Framework Configuration: Run Configuration -> OSGi Framework -> MyNewConfiguration
Run the configuration
When I validate the Plug-Ins, it says "Missing constraint: import package org.eclipse.felix.service.command". Where can I find this bundle?
Is this the correct way to open the OSGi Console of my custom RCP application? I'm not able to export the application as a product, so I can't run it outside of the Eclpse IDE.
Include bundles
in your run configuration.
Also add option -console
to your program arguments.
When developing it is sometimes useful to use option -debug
and -consoleLog
also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With