Running plugin from RCP application [message #467166] |
Mon, 30 April 2007 07:30 |
Eclipse User |
|
|
|
Originally posted by: johanp.geoaxon.com
Hi
I've created a plugin project that doesn't contribute to the UI i.e. its
not an RCP application. I then want to test the plugin by creating an RCP
application and make that plugin dependent on the app so that when the app
starts up, it loads the plugin and performs whatever the plugin is meant
to do. I've added all my plugin's packages to the runtime tab under
manifest.mf and i've made the plugin dependent under the RCP app's
manifest dependencies tab. However, I get the following error:
java.lang.RuntimeException: Application "com.newrcp.application" could not be found in the registry. The applications available are: <NONE>.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:68)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.osgi 2 0 2007-04-30 08:55:10.001
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-04-30 08:55:10.001
!MESSAGE Bundle initial@reference:file:../../workspace/com.newrcp/ was not resolved.
!SUBENTRY 2 com.newrcp 2 0 2007-04-30 08:55:10.001
!MESSAGE Missing required bundle com.newplugin_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2007-04-30 08:55:10.001
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-04-30 08:55:10.002
!MESSAGE Bundle initial@reference:file:../../workspace/com.newrcp/ [30] was not resolved.
!SUBENTRY 2 com.newrcp 2 0 2007-04-30 08:55:10.002
!MESSAGE Missing required bundle com.newplugin_0.0.0.
Any help would be greatly appreciated.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02870 seconds