DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page How to Add Plugin to RCP Application
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2009
Default How to Add Plugin to RCP Application - 11-04-2009, 11:43 AM

I have a standalone RCP Appliation built off of the Eclipse Workbench (v 3.5) which adds some custom views, perspectives, menus and editors to the workbench and is then rebranded.

I also have a separate and independent plugin which provides additional views and actions(commands) to the workbench.

I want to be able to deploy my RCP application and optionally add my plugin's functionality to my RCP by adding my plugin's jar to my RCP applications' plugins directory in the same way that I can add my plugin to Eclipse by adding the plugin's jar to Eclipse's plugins directory.

I have verified that my plugin works correctly when added to Eclipse via Eclipse's plugins directory but my RCP application does not seem to pick up the plugin when it is added to the RCP application's plugins directory.

I would like to know if there is something I am doing wrong or if I am incorrectly assuming that my RCP application's plugins directory will work the same way as Eclipse's.

Thanks in advance for your help.
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2009
Default 11-05-2009, 06:07 AM

Probably Application do not use standart extension points or clear info obtained from other plugins after start and hide standart menus, toolbars or sothing else
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2009
Default 11-05-2009, 09:55 AM

Try to see .log file in configuration folder ol logs in application directory - may be plugin deads because not enough required plugins in app folder or it has wrong versions ...
Reply With Quote
  (#4 (permalink)) Old
Moderator
 
Posts: 119
Thanks: 0
Thanked 10 Times in 9 Posts
Join Date: Jan 2008
Default 12-21-2009, 04:49 AM

Make sure that any dependent plugins are included in the plugins directory where you wish to deploy your own plug-in.
Reply With Quote
Reply

Tags
contribute, eclipse, jar, plugin, rcp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rcp plugin dependency on non-plugin project Shefali23 Eclipse 1 07-24-2008 05:06 AM
Application fails on Mac - can't load application class kam_83 Eclipse 0 05-02-2008 10:21 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com