Community
Participate
Working Groups
The new OSGI console does not seem to work in e4 based RCP applications. See news and noteworthy: http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M3-201110281100/eclipse-news-M3.html Create a new e4 application with the project wizard. Add -console flag to the runtime and add the required plugins. If you run the product you cannot use the OSGi console.
Lars, what do you mean you cannot use the console? Does any console come up? I know that for many of the features (tab completion, history, etc), these don't work with the -console flag directly. You need to -console 5555 and then telnet to port 5555.
@Ian: "ss" does not give any response.
Lars, does your application contain the following bundles: * org.apache.felix.gogo.command * org.apache.felix.gogo.runtime * org.apache.felix.gogo.shell I believe all three of these are required to run the GoGo console.
Just FYI, the console works in 4.2 and it includes the bundles: org.apache.felix.gogo.command_0.8.0.v201108120515.jar org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar org.apache.felix.gogo.shell_0.8.0.v201110170705.jar PW
Sorry for the long delay in my response. As suggested, after adding the following plug-ins the console works in my E4 application: * org.apache.felix.gogo.command * org.apache.felix.gogo.runtime * org.apache.felix.gogo.shell Thanks Ian, Neil and Paul for your answers.
Forgot one plug-in: +org.eclipse.equinox.console
Just a note that E4 RCP apps can include the org.eclipse.e4.rcp feature which includes everything necessary for a runnable app, including the console and gogo bundles.