OSGI Console not visible [message #1851544] |
Fri, 08 April 2022 03:01  |
Eclipse User |
|
|
|
Hello Together,
i have created a simple Eclipse product, with some custom plugins installed. All works fine, but the OSGI console is not available under console view in my product.
Starting from the EclipseRCP the console is visible, but from the custom product not.
In my plugins folder i have jars:
org.apache.felix.gogo.command.source_1.1.2.v20210111-1007.jar
org.apache.felix.gogo.command_1.1.2.v20210111-1007.jar
org.apache.felix.gogo.runtime.source_1.1.4.v20210111-1007.jar
org.apache.felix.gogo.runtime_1.1.4.v20210111-1007.jar
org.apache.felix.gogo.shell.source_1.1.4.v20210111-1007.jar
org.apache.felix.gogo.shell_1.1.4.v20210111-1007.jar
and also
org.eclipse.update.configurator_3.4.800.v20210415-1314.jar
org.eclipse.equinox.simpleconfigurator_1.4.0.v20210315-2228.jar
org.eclipse.osgi_3.17.100.v20211104-1730.jar
org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
The product is based on Eclipse 2021-12
Is there something missing on jars, or i need additional configuration?
|
|
|
Re: OSGI Console not visible [message #1851586 is a reply to message #1851544] |
Sat, 09 April 2022 06:13  |
Eclipse User |
|
|
|
When you do not define a target platform, your RPC will include all plugins that are installed in your IDE. So in this case, the OSGi console is in your IDE and present when launching your RPC from the IDE. The console plugin is not included in your product, and thus not available when you launch your custom product.
At least you would need to include the equinox console plugin, see https://www.vogella.com/tutorials/OSGi/article.html#required-bundles:
org.eclipse.equinox.console
I would recommend to use a target platform for any product, such that these kind of inconsistencies don't occure. You can either define you target platform directly or use Oomph to generate it for you.
|
|
|
Powered by
FUDForum. Page generated in 0.02559 seconds