|how to install my RCP app as a bundle in equinox? [message #512328]
||Thu, 04 February 2010 16:55
| Maciej Zywno
Registered: July 2009
I developed an rcp application under eclipse and it works fine. I can export it as a product using myapp.product and run it as well.
Now I'd like to deploy and run this rcp app by means of a standalone osgi container. I used my plugin.xml to exporte the rcp project by means of eclipse export feature ("Deployable plugins and fragments"). Then I installed that built plugin(a directory) into equinox and tried to start the bundle. It required org.eclipse.core.runtime so I installed it as well, I followed that path until all required bundles were installed (e.g. org.eclipse.equinox.common, org.eclipse.core.jobs, org.eclipse.jface.databinding and a few others).
So I got to the point were I could start my bundle. However I get "No application id has been found" error. Could you help with that? I guess I need more stuff deployed into container but what's the procedure? Can an RCP app be started that way?
!SESSION 2010-02-04 17:41:11.344 -----------------------------------------------
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -console
!ENTRY org.eclipse.osgi 4 0 2010-02-04 17:41:12.829
!MESSAGE Application error
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:367)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(Eclipse Starter.java:150)
Powered by FUDForum
. Page generated in 0.09259 seconds