Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IDE inconstencies running different plugin-projects
IDE inconstencies running different plugin-projects [message #461904] Thu, 18 January 2007 08:52 Go to next message
Eclipse UserFriend
Originally posted by: kirendaren.gmail.com

Hi

I have two plugin projects in my workspace. One is my own plugin project
in which I'm trying to work through the RCP tutorial, other the working
plugin from the tutorial.

When I first launch eclipse, I can run the sample from the CD. Then when
I try to run my version it works fine. However, once I go back to the
tutorial sample version again, I get the following error " Application
"org.eclipse.ui.ide.workbench" could not be found in the registry." etc.

To me, something is getting corrupt when switching between different
plugin applications. When I restart the workbench, everything is fine.

Can someone advise me what to do?

I start the application from the "Overview" tab in the manifest view.

Regards
Kiren

Eclipse 3.2.1 IDE, RCP SDK Java 5.
Re: IDE inconstencies running different plugin-projects [message #461911 is a reply to message #461904] Thu, 18 January 2007 09:39 Go to previous messageGo to next message
Ilya Shinkarenko is currently offline Ilya ShinkarenkoFriend
Messages: 22
Registered: July 2009
Junior Member
Hello Kiren,

try to start your application not from the overview but from the menu
"Run...". There you can manually or automatically select plug-ins which
have to be included in your eclipse application runtime environment.

Ilya Shinkarenko
--
www.rcp-training.com
www.weiglewilczek.com



kiren pillay wrote:
> Hi
>
> I have two plugin projects in my workspace. One is my own plugin project
> in which I'm trying to work through the RCP tutorial, other the working
> plugin from the tutorial.
>
> When I first launch eclipse, I can run the sample from the CD. Then when
> I try to run my version it works fine. However, once I go back to the
> tutorial sample version again, I get the following error " Application
> "org.eclipse.ui.ide.workbench" could not be found in the registry." etc.
>
> To me, something is getting corrupt when switching between different
> plugin applications. When I restart the workbench, everything is fine.
>
> Can someone advise me what to do?
>
> I start the application from the "Overview" tab in the manifest view.
>
> Regards
> Kiren
>
> Eclipse 3.2.1 IDE, RCP SDK Java 5.
Re: IDE inconstencies running different plugin-projects [message #461941 is a reply to message #461911] Thu, 18 January 2007 13:47 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Ilya Shinkarenko wrote:
> try to start your application not from the overview but from the menu
> "Run...". There you can manually or automatically select plug-ins which
> have to be included in your eclipse application runtime environment.

Does anyone know what the semantics of the mentioned "launch" facility
is from the product editor? I never understand why that never worked for
me...

Greetings from Bremen,

Daniel Krügler
Re: IDE inconstencies running different plugin-projects [message #461943 is a reply to message #461941] Thu, 18 January 2007 14:30 Go to previous messageGo to next message
Ilya Shinkarenko is currently offline Ilya ShinkarenkoFriend
Messages: 22
Registered: July 2009
Junior Member
Hello Daniel,

it works like this: it tries to find already defined configuration of a
product, if found - runs this configuration, if not - creates a new one
based on the product configuration.

see org.eclipse.pde.internal.ui.launcher.LaunchAction code, this action
is triggered when you press that mysterious hyperlink

Viele Grüße
Ilya

Daniel Krügler wrote:
> Ilya Shinkarenko wrote:
>> try to start your application not from the overview but from the menu
>> "Run...". There you can manually or automatically select plug-ins which
>> have to be included in your eclipse application runtime environment.
>
> Does anyone know what the semantics of the mentioned "launch" facility
> is from the product editor? I never understand why that never worked for
> me...
>
> Greetings from Bremen,
>
> Daniel Krügler
Re: IDE inconstencies running different plugin-projects [message #461969 is a reply to message #461943] Fri, 19 January 2007 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kirendaren.gmail.com

Hi

There still seems to be unexplained behaviour with plugins. What I've
done is imported the eclipsetrader project which consists of a number of
plugins, which all depend on a core project.

After importing into the workspace, the IDE complained that "The type
org.eclipse.core.runtime.IExecutableExtension cannot be resolved", this
is with reference to a class implementing ViewPart. This error should be
displayed if the org.eclipse.core.runtime plug-in is not on the
classpath, but in this case it was. So, I cleaned all the projects and
rebuilt, but the error did not go away.

Then, like the previous problem, I restarted the IDE and voila, it works!

Am I the only one experiencing this kind of thing with Eclipse?

Regards
Kiren


Ilya Shinkarenko wrote:
> Hello Daniel,
>
> it works like this: it tries to find already defined configuration of a
> product, if found - runs this configuration, if not - creates a new one
> based on the product configuration.
>
> see org.eclipse.pde.internal.ui.launcher.LaunchAction code, this action
> is triggered when you press that mysterious hyperlink
>
> Viele Grüße
> Ilya
>
> Daniel Krügler wrote:
>> Ilya Shinkarenko wrote:
>>> try to start your application not from the overview but from the menu
>>> "Run...". There you can manually or automatically select plug-ins which
>>> have to be included in your eclipse application runtime environment.
>> Does anyone know what the semantics of the mentioned "launch" facility
>> is from the product editor? I never understand why that never worked for
>> me...
>>
>> Greetings from Bremen,
>>
>> Daniel Krügler
Re: IDE inconstencies running different plugin-projects [message #461994 is a reply to message #461969] Sat, 20 January 2007 16:34 Go to previous message
Ilya Shinkarenko is currently offline Ilya ShinkarenkoFriend
Messages: 22
Registered: July 2009
Junior Member
hi,

this happens pretty often, unfortunately
normally you have to explicitly update plug-in classpath (PDE Tools ->
Update CP), sometimes it helps when you close and open your project,
sometimes eclipse restart helps.
i mean, there are possibly some more fair solutions for that kind of
problems, but they are not evident for me :(

kiren pillay wrote:
> Hi
>
> There still seems to be unexplained behaviour with plugins. What I've
> done is imported the eclipsetrader project which consists of a number of
> plugins, which all depend on a core project.
>
> After importing into the workspace, the IDE complained that "The type
> org.eclipse.core.runtime.IExecutableExtension cannot be resolved", this
> is with reference to a class implementing ViewPart. This error should be
> displayed if the org.eclipse.core.runtime plug-in is not on the
> classpath, but in this case it was. So, I cleaned all the projects and
> rebuilt, but the error did not go away.
>
> Then, like the previous problem, I restarted the IDE and voila, it works!
>
> Am I the only one experiencing this kind of thing with Eclipse?
>
> Regards
> Kiren
>
>
> Ilya Shinkarenko wrote:
>> Hello Daniel,
>>
>> it works like this: it tries to find already defined configuration of a
>> product, if found - runs this configuration, if not - creates a new one
>> based on the product configuration.
>>
>> see org.eclipse.pde.internal.ui.launcher.LaunchAction code, this action
>> is triggered when you press that mysterious hyperlink
>>
>> Viele Grüße
>> Ilya
>>
>> Daniel Krügler wrote:
>>> Ilya Shinkarenko wrote:
>>>> try to start your application not from the overview but from the menu
>>>> "Run...". There you can manually or automatically select plug-ins which
>>>> have to be included in your eclipse application runtime environment.
>>> Does anyone know what the semantics of the mentioned "launch" facility
>>> is from the product editor? I never understand why that never worked for
>>> me...
>>>
>>> Greetings from Bremen,
>>>
>>> Daniel Krügler
Previous Topic:RCP as applet
Next Topic:Help on Eclipse Forms
Goto Forum:
  


Current Time: Tue Sep 10 12:10:10 GMT 2024

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

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

Back to the top