Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Debugging plugin loading issues
Debugging plugin loading issues [message #332178] Wed, 08 October 2008 15:24 Go to next message
Peter Moogk is currently offline Peter MoogkFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,
I've written a simple plugin that extends the pop-up menus in the
navigator. When self-hosting the navigator pop-up menus that I defined
work great. I now want to export this plugin so that other developers can
use it. I used the PDE export wizard to export my plugin. I then put
this exported plugin into the dropins directory of my base Eclipse
installation. However, when I start this Eclipse installation the pop-up
menus don't come up. I checked "plugin details" to see if my plugin was
loaded. It wasn't there so Eclipse didn't load my plugin for some reason.
I checked the .log file and didn't see any error message. Is there an
Eclipse flag that I can set to find out why Eclipse didn't load my plugin?
Or more generally, what debugging steps can I take to find why Eclipse
wont load my plugin.

Thanks!
Re: Debugging plugin loading issues [message #332180 is a reply to message #332178] Wed, 08 October 2008 17:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33183
Registered: July 2009
Senior Member
Peter,

Use -clean -debug whenever I have issues like this. The former seems to
make it process all the plugins again, sometimes it's a bit reluctant to
do that, and the latter makes it spit out useful diagnostics about why
plugins are not being activated...


Peter Moogk wrote:
> Hi,
> I've written a simple plugin that extends the pop-up menus in the
> navigator. When self-hosting the navigator pop-up menus that I
> defined work great. I now want to export this plugin so that other
> developers can use it. I used the PDE export wizard to export my
> plugin. I then put this exported plugin into the dropins directory of
> my base Eclipse installation. However, when I start this Eclipse
> installation the pop-up menus don't come up. I checked "plugin
> details" to see if my plugin was loaded. It wasn't there so Eclipse
> didn't load my plugin for some reason. I checked the .log file and
> didn't see any error message. Is there an Eclipse flag that I can set
> to find out why Eclipse didn't load my plugin? Or more generally, what
> debugging steps can I take to find why Eclipse wont load my plugin.
> Thanks!
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Debugging plugin loading issues [message #332181 is a reply to message #332180] Wed, 08 October 2008 18:53 Go to previous message
Peter Moogk is currently offline Peter MoogkFriend
Messages: 15
Registered: July 2009
Junior Member
Hi Ed,
Thanks a million! That helped a lot. With -debug specified the .log
file contained all the plugins that were not loaded. In my case the
plugin specified JRE 1.5, but unbeknown to me eclipse was using a 1.4 JDK
to start Eclipse. I just needed to force the JDK I wanted in the
eclipse.ini file and everything worked great. Thanks again.

Peter.
Previous Topic:How to contribute to the Eclipse startup spashscreen?
Next Topic:Error after updating process
Goto Forum:
  


Current Time: Thu Jul 18 03:35:23 GMT 2024

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

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

Back to the top