Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problems deploying an Eclipse plugin
Problems deploying an Eclipse plugin [message #504789] Tue, 22 December 2009 17:14 Go to next message
TK Gospodinov is currently offline TK GospodinovFriend
Messages: 5
Registered: July 2009
Location: Kansas City, MO
Junior Member
I am having problems deploying a plugin for use with Eclipse. I can launch it in a new workbench from my IDE, but when I package it and drop it in the eclipse/plugins folder, Eclipse is not picking it up. Any ideas? Let me know if you need more information.

Thanks in advance.
Re: Problems deploying an Eclipse plugin [message #504920 is a reply to message #504789] Wed, 23 December 2009 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.ahoegger.ch

Start the eclipse with a console:
add

-consolelog
-console
-vm [fully quallified path to a java.exe e.g. C:\java\bin\java.exe]

to your eclipse.ini file in the eclipse root directory.
After a restart of your eclipse a console should show up. with "ss"
(without quotes) you can list all bundles and states with "start [bundle
id]" you can try to start your bundle and check the log.
If it still does not work please post a log entry.

See also:
http://www.eclipse.org/eclipse/platform-core/documents/3.1/d ebug.html
http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html


TK Gospodinov wrote:
> I am having problems deploying a plugin for use with Eclipse. I can
> launch it in a new workbench from my IDE, but when I package it and drop
> it in the eclipse/plugins folder, Eclipse is not picking it up. Any
> ideas? Let me know if you need more information.
>
> Thanks in advance.
Re: Problems deploying an Eclipse plugin [message #504972 is a reply to message #504789] Wed, 23 December 2009 21:35 Go to previous message
TK Gospodinov is currently offline TK GospodinovFriend
Messages: 5
Registered: July 2009
Location: Kansas City, MO
Junior Member
OK, I finally got the menu item to show up in my Eclipse workbench. However, it doesn't do anything when I select it. While debugging in the console, I noticed that the class loader throws a NoClassDefFoundError for a class that lives in a dependency that is wrapped in an OSGI wrapper located in my eclipse/plugins folder. I used "ss" to verify that my plugin is active and the OSGI wrapper is resolved. I have no idea why the class loader fails to load that class, since I don't have any problems running this in my IDE and the manifest in my IDE is exactly the same as the one in the deployed plugin. I verified that the package that the missing class is located in is exported by the OSGI wrapper.

Any help is greatly appreciated.
Previous Topic:After creating application (plugin), change default 'workspace data' location
Next Topic:How to make disabled a tab (EditorPart) in Eclipse or in a RCP application
Goto Forum:
  


Current Time: Mon Nov 24 00:28:00 GMT 2014

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

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