Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Unregistered plugins - neverending story
Unregistered plugins - neverending story [message #58001] Thu, 23 April 2009 15:51 Go to next message
Eclipse UserFriend
Originally posted by: tmothymarc.freenet.de

Wow,

i'm getting crazy with this plugin registration mechanism of eclipse
3.4. I've read about p2, and placed my plugins into /dropins directory,
but they won't be registered. Afterwards, i create a new eclipse
instance by copying the whole program to another hard disk. I placed my
plugins into dropins, and suddenly... it works.

Both distribution are now eqauly configured and structured, but in my
first distribution, the plugins are not registered.... what a pitty.

It is like shooting dices, if the plugins will be registered in the
dropins directory. Does anyone have a good idea??? I'm becomming
deperate with every new try :(

Thx
Timothy
Re: Unregistered plugins - neverending story [message #58077 is a reply to message #58001] Thu, 23 April 2009 17:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Timothy Marc wrote:
> Wow,
>
> i'm getting crazy with this plugin registration mechanism of eclipse
> 3.4. I've read about p2, and placed my plugins into /dropins directory,
> but they won't be registered. Afterwards, i create a new eclipse
> instance by copying the whole program to another hard disk. I placed my
> plugins into dropins, and suddenly... it works.
>
> Both distribution are now eqauly configured and structured, but in my
> first distribution, the plugins are not registered.... what a pitty.
>
> It is like shooting dices, if the plugins will be registered in the
> dropins directory. Does anyone have a good idea??? I'm becomming
> deperate with every new try :(

The plugins/features you drop into the dropins/ directory each have a
set of pre-requisites (plugin or feature IDs and specific version
ranges). If any of those are not satisfied, the plugin won't load.
You can use the OSGi console to help debug why a particular plugin isn't
loading; I don't know the details of using it but Google for "OSGi
console" should get you enough info to work with.

By the way, this is why using an update site is usually a better option
than just "dropping in." The update manager will do its best to
automatically download required prerequisites when installing a feature.

Hope this helps,
Eric
Re: Unregistered plugins - neverending story [message #58248 is a reply to message #58001] Fri, 24 April 2009 09:28 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
It used to be the case that Eclipse would cache information about
installed plugins. So, just dropping something into a directory and
restarting Eclipse wouldn't necessarily install the plugin. Instead, you
would have to start eclipse with the -clean command line parameter.

I'm not sure whether this is still true with p2 and the dropins folder,
but you might want to try it just in case.

Cheers,

Steffen

Timothy Marc wrote:
> Wow,
>
> i'm getting crazy with this plugin registration mechanism of eclipse
> 3.4. I've read about p2, and placed my plugins into /dropins
> directory, but they won't be registered. Afterwards, i create a new
> eclipse instance by copying the whole program to another hard disk. I
> placed my plugins into dropins, and suddenly... it works.
>
> Both distribution are now eqauly configured and structured, but in my
> first distribution, the plugins are not registered.... what a pitty.
>
> It is like shooting dices, if the plugins will be registered in the
> dropins directory. Does anyone have a good idea??? I'm becomming
> deperate with every new try :(
>
> Thx
> Timothy

--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate

Lancaster University
Lancaster, United Kingdom

Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/

--
Consider submitting to MDPLE, the 1st International Workshop on
Model-Driven Product Line Engineering
http://www.feasiple.de/workshop_en.html
Re: Unregistered plugins - neverending story [message #596295 is a reply to message #58001] Thu, 23 April 2009 17:28 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
Timothy Marc wrote:
> Wow,
>
> i'm getting crazy with this plugin registration mechanism of eclipse
> 3.4. I've read about p2, and placed my plugins into /dropins directory,
> but they won't be registered. Afterwards, i create a new eclipse
> instance by copying the whole program to another hard disk. I placed my
> plugins into dropins, and suddenly... it works.
>
> Both distribution are now eqauly configured and structured, but in my
> first distribution, the plugins are not registered.... what a pitty.
>
> It is like shooting dices, if the plugins will be registered in the
> dropins directory. Does anyone have a good idea??? I'm becomming
> deperate with every new try :(

The plugins/features you drop into the dropins/ directory each have a
set of pre-requisites (plugin or feature IDs and specific version
ranges). If any of those are not satisfied, the plugin won't load.
You can use the OSGi console to help debug why a particular plugin isn't
loading; I don't know the details of using it but Google for "OSGi
console" should get you enough info to work with.

By the way, this is why using an update site is usually a better option
than just "dropping in." The update manager will do its best to
automatically download required prerequisites when installing a feature.

Hope this helps,
Eric
Re: Unregistered plugins - neverending story [message #596348 is a reply to message #58001] Fri, 24 April 2009 09:28 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
It used to be the case that Eclipse would cache information about
installed plugins. So, just dropping something into a directory and
restarting Eclipse wouldn't necessarily install the plugin. Instead, you
would have to start eclipse with the -clean command line parameter.

I'm not sure whether this is still true with p2 and the dropins folder,
but you might want to try it just in case.

Cheers,

Steffen

Timothy Marc wrote:
> Wow,
>
> i'm getting crazy with this plugin registration mechanism of eclipse
> 3.4. I've read about p2, and placed my plugins into /dropins
> directory, but they won't be registered. Afterwards, i create a new
> eclipse instance by copying the whole program to another hard disk. I
> placed my plugins into dropins, and suddenly... it works.
>
> Both distribution are now eqauly configured and structured, but in my
> first distribution, the plugins are not registered.... what a pitty.
>
> It is like shooting dices, if the plugins will be registered in the
> dropins directory. Does anyone have a good idea??? I'm becomming
> deperate with every new try :(
>
> Thx
> Timothy

--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate

Lancaster University
Lancaster, United Kingdom

Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/

--
Consider submitting to MDPLE, the 1st International Workshop on
Model-Driven Product Line Engineering
http://www.feasiple.de/workshop_en.html
Previous Topic:Auto-Start option in Run-Configuration doesn't start bundles
Next Topic:headless update site build like in site editor
Goto Forum:
  


Current Time: Wed Jun 16 10:48:04 GMT 2021

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

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

Back to the top