Add new plug-ins to a RCP [message #499548] |
Mon, 23 November 2009 05:36  |
Eclipse User |
|
|
|
Dear all,
since i am new here, to avoid misunderstandings, in the point -A- i wrote a very small thesaurus, to be sure that we will talk about the same topic
- A -
Just correct if wrong or complete them, this is what i understood.
RCP = an extendible application. If i want to create a basic program, and extend it later, this is the best choice (or maibe the only one). After built it, i can forget eclipse, it will be completely independent application
Plug-in = i create a plug-in with eclipse, i export it, put its .jar file in the "plugins" directory of my RCP application, and when i reboot my application, some new icon, menu or similar will be present, adding new functionality to my program.
- B -
This is the "real" question
I created 1. a RCP using Eclipse cheat sheets. I also created 2. a hello world plug-in, again using cheat sheets. I created the executable version of 1. and exported 2. (the plug-in). I took the *.jar file created from 2. and putted in the "plugins" directory of the RCP application (1.). I expected that, when i open the RCP application, i would see the plug-in icon, but this doesn't happen. I would like to connect many plug-ins to my RCP application, to make it an extensible application.
Can anybody help me, explaining how to do that?
PS.
I am able to create plug-in for eclipse, but not plugin for my RCP application.
if you don't understand anything, just ask and i'll try to explain better.
[Updated on: Mon, 23 November 2009 05:45] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Add new plug-ins to a RCP [message #502017 is a reply to message #501957] |
Fri, 04 December 2009 14:23  |
Eclipse User |
|
|
|
p2.inf is a way to specify p2 metadata for that plugin (or product, etc).
My example adds touchpoint instructions to the metadata, so that when my IU is installed by p2, it will create the dropins directory for me.
PW
|
|
|
Powered by
FUDForum. Page generated in 0.05257 seconds