Problem loading plugin when started from outside eclipse [message #464878] |
Fri, 16 March 2007 16:55 |
Eclipse User |
|
|
|
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 |
No real name 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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02764 seconds