|
Re: Unable to recognize plugins in my RCP app [message #332314 is a reply to message #332313] |
Fri, 17 October 2008 19:51 |
Eclipse User |
|
|
|
Originally posted by: zx.code9.com
Raja Kannappan wrote:
> I built a small prototype RCP plugin and when I drop it in other RCP
> app's my plugin is recognized and I can see my views and perspectives in
> the other RCP app (for example Eclipse IDE). However, If I drop any
> third party plugin into my RCP prototype plugin app, it does not
> recognize those third party plugins. Is there anything I have to do to
> make sure my RCP plugin app recognizes other plugins?
Which version of Eclipse are you using?
Are you sure that the plug-ins you're dropping into your RCP prototype
application has the necessary dependencies installed for those plug-ins
to work? It could be that the other environment has the correct
dependencies and your prototype doesn't.
Launch your application with -console to get the OSGi console and do
some investigation.
http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html
Cheers,
~ Chris
|
|
|
Re: Unable to recognize plugins in my RCP app [message #332317 is a reply to message #332314] |
Fri, 17 October 2008 21:55 |
Raja Kannappan Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hi Chris,
The console helped a lot. The plugin I was adding to my plugins folder
required some other plugins which were not in my Run
configurations->Plugins->Target Platform (i.e they were not checked
there). Once I did select all and ran my app, it picked the dropped
plugins.
While exporting the product (from .product), in configuration tab,
initially I was doing only "Add required plugin-ins" which added only the
plugins which my app required. But, the third party plugin, required
another eclipse core plugin which my app was not using. Once, I added all
the core plugins in my configuration tab and exported the product, it
picked the third party plugins fine.
So, my question is should we always include all the core eclipse plugins
in our product (even though our product does not use it)? How can we make
sure that we have all plugins used by the third party plugin.
Thanks,
- Raja.
|
|
|
Powered by
FUDForum. Page generated in 0.03395 seconds