Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » OSGI Console not visible
OSGI Console not visible [message #1851544] Fri, 08 April 2022 07:01 Go to next message
Boian Tomov is currently offline Boian TomovFriend
Messages: 1
Registered: April 2022
Junior Member
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 10:13 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
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.
Previous Topic:Config Data Location of RCP Application
Next Topic:Can't add org.eclipse.e4.ui.progress bundle as dependency
Goto Forum:
  


Current Time: Fri Dec 06 01:51:25 GMT 2024

Powered by FUDForum. Page generated in 0.03487 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top