Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem loading plugin when started from outside eclipse
Problem loading plugin when started from outside eclipse [message #464878] Fri, 16 March 2007 16:55 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-ng.tobiasm.de

Hi,

i have written my own application and some plugins. If i start this
application from eclipse all my plugins work correctly. But if i export
everything using eclipse and try it from commandline one plugin is not
loaded.

extensionPoint.getConfigurationElements().length is 0 for this extension
point.

I tried -clean, did a clean build from everything, nothing helps.

Any suggestions?

tia

Tobias Mayer
Re: Problem loading plugin when started from outside eclipse [message #464883 is a reply to message #464878] Fri, 16 March 2007 21:41 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 38
Registered: July 2009
Member
Tobias Mayer wrote:
> Hi,
>
> i have written my own application and some plugins. If i start this
> application from eclipse all my plugins work correctly. But if i export
> everything using eclipse and try it from commandline one plugin is not
> loaded.
>
> extensionPoint.getConfigurationElements().length is 0 for this extension
> point.
>
> I tried -clean, did a clean build from everything, nothing helps.
>
> Any suggestions?
>
> tia
>
> Tobias Mayer

I have this problem often as well, but my environment may be different.
I have a product configuration and the product is comprised of
features (vs. plugins).

When I add a new plugin, usually some new Eclipse extension plugin, I
typically forget to add this new plugin to my feature dependencies.
Sooo, when I run my application from w/in Eclipse, everything is hunky
dory. However, my exported version fails with the inability to find
that new plugin.
Re: Problem loading plugin when started from outside eclipse [message #465571 is a reply to message #464878] Mon, 02 April 2007 13:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-ng.tobiasm.de

Hi,
i found out what happened: my second plugin has a dependency to the
org.junit4-Plugin. When i use the export-Feature of eclipse the
dependency-plugins are not exported - the plugin will not start up.

Can i get eclipse to export the dependency plugins together with my
plugin? How?

And how do i tell my rcp application to bother about unresolved
dependencies when trying to load a plugin?

Tobi
Previous Topic:Accessing plugin resources
Next Topic:RCP deployment with custom callbacks?
Goto Forum:
  


Current Time: Thu Apr 25 15:49:18 GMT 2024

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

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

Back to the top