Debugging plugin install problems [message #328850] |
Wed, 04 June 2008 20:51  |
Eclipse User |
|
|
|
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 #328885 is a reply to message #328866] |
Thu, 05 June 2008 19:22  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03730 seconds