Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Debugging plugin install problems
Debugging plugin install problems [message #328850] Thu, 05 June 2008 00:51 Go to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
On my machine I downloaded eclipse-SDK-3.4RC2-win32 and unzipped it.
Then I ran eclipse.exe and used the update site to install my plugin.
Worked great: lots of things happened, then I had my new plugin working.

Then I had Brave User #1 reproduce this procedure. All good until the
last step, actually using the new plugin. It does not show up in the
UI! No pref pages, context menu entries etc.

The plugin shows up in Window-ShowView->PDE->plugins. There is a
directory in the plugins/ folder with my stuff. The Error Log has no
related error messages.

How can I diagnose this and get it to work?

John.
Re: Debugging plugin install problems [message #328866 is a reply to message #328850] Thu, 05 June 2008 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

John J Barton wrote:
> On my machine I downloaded eclipse-SDK-3.4RC2-win32 and unzipped it.
> Then I ran eclipse.exe and used the update site to install my plugin.
> Worked great: lots of things happened, then I had my new plugin working.
>
> Then I had Brave User #1 reproduce this procedure. All good until the
> last step, actually using the new plugin. It does not show up in the
> UI! No pref pages, context menu entries etc.
>
> The plugin shows up in Window-ShowView->PDE->plugins. There is a
> directory in the plugins/ folder with my stuff. The Error Log has no
> related error messages.
>
> How can I diagnose this and get it to work?

Start Eclipse with the -debug option (either on the command line or in
eclipse.ini). You probably should use the -clean option, too, to flush
the cache of plugin info. Oh, and run Eclipse with java.exe instead of
javaw.exe, which will give you the system.out/system.err console window
to look at.

Hope this helps,
Eric
Re: Debugging plugin install problems [message #328885 is a reply to message #328866] Thu, 05 June 2008 23:22 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Eric Rizzo wrote:
> John J Barton wrote:
>> On my machine I downloaded eclipse-SDK-3.4RC2-win32 and unzipped it.
>> Then I ran eclipse.exe and used the update site to install my plugin.
>> Worked great: lots of things happened, then I had my new plugin working.
>>
>> Then I had Brave User #1 reproduce this procedure. All good until the
>> last step, actually using the new plugin. It does not show up in the
>> UI! No pref pages, context menu entries etc.
>>
>> The plugin shows up in Window-ShowView->PDE->plugins. There is a
>> directory in the plugins/ folder with my stuff. The Error Log has no
>> related error messages.
>>
>> How can I diagnose this and get it to work?
>
> Start Eclipse with the -debug option (either on the command line or in
> eclipse.ini). You probably should use the -clean option, too, to flush
> the cache of plugin info. Oh, and run Eclipse with java.exe instead of
> javaw.exe, which will give you the system.out/system.err console window
> to look at.
>
Thanks Eric. That didn't work. But you did encourage me ;-).

I found a way to debug it:

Window.ShowView.Other.PDE Runtime.PluginRegistry.
Right click, Show Advanced Operations.
Right click on plugin: Start.
Window.ShowView.ErrorLog

There I can read the problem:
> The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

So simple. I should have guessed ;-)

John.
Previous Topic:File->Export key binding
Next Topic:java.lang.StackOverflowError in BundleLoader with version 3.4rc3
Goto Forum:
  


Current Time: Fri Jul 19 14:26:03 GMT 2024

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

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

Back to the top