Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Running plugin from RCP application
Running plugin from RCP application [message #467166] Mon, 30 April 2007 07:30 Go to next message
Eclipse UserFriend
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.
Re: Running plugin from RCP application [message #467174 is a reply to message #467166] Mon, 30 April 2007 09:52 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Delete the launch configuration (Run -> Run... and then select your launch configuration and do 'delete').

It looks like there may be some cached state in the launch config which means that the bundle isn't being found.

Alex.
Previous Topic:Request about propertyView
Next Topic:Drag and select the TreeItems in TreeViewer
Goto Forum:
  


Current Time: Wed Apr 24 16:50:38 GMT 2024

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

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

Back to the top