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 |
Eclipse User |
|
|
|
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 #461969 is a reply to message #461943] |
Fri, 19 January 2007 08:15 |
Eclipse User |
|
|
|
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 |
Ilya Shinkarenko 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
|
|
|
Goto Forum:
Current Time: Tue Sep 10 12:10:10 GMT 2024
Powered by FUDForum. Page generated in 0.07377 seconds
|