|start application window from osgi console [message #895391]
||Thu, 12 July 2012 16:47
| Jan Pfeil
Registered: July 2012
I want to start my e4 application from the osgi console by command. Is that possible?
My simple e4 application runs well so far. It uses e4 application model and declarative services.
My product based launch configuration uses VM arguments -Dosgi.noShutdown=true and Program arguments -consoleLog -console.
When I close the main window I can run commands from the console.
I'd like to restart the application window from the console now.
I tried the apps and startApp commands to no success and I don't even know if this is a useful approach.
When the application window is present I get:
org.eclipse.e4.ui.workbench.swt.E4Application [running] [not launchable]
when the application window is closed I get:
startApp gives me
osgi> startApp org.eclipse.e4.ui.workbench.swt.E4Application
Launched application instance: org.eclipse.e4.ui.workbench.swt.E4Application.1
but no application window opens.
[Updated on: Mon, 16 July 2012 15:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05906 seconds