Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to create an auto-extendable RCP product?
How to create an auto-extendable RCP product? [message #823051] Sat, 17 March 2012 18:11 Go to next message
Jason Lee is currently offline Jason LeeFriend
Messages: 3
Registered: March 2012
Junior Member
Hi all,

Now I have a RCP product with well-defined features.
And my boss wants to add a new functoin to it.

Before I think the RCP application is just like Eclipse. You can just copy a plugin to its "plugins" folder and the application can automatically load it. But after practicing, I found my thought was wrong.

I created a new plugin and it worked well in my IDE. But when I just copied it to exported application, it couldn't be loaded automatically.

I googled a lot and there was no answer.

Do you know how to do that? Do I need to change some configuration of RCP product?

Many thanks.
Re: How to create an auto-extendable RCP product? [message #823433 is a reply to message #823051] Sun, 18 March 2012 09:17 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Simply droping a plugin into the plugins or dropins folder is never a
good idea - you should do it using p2.

Anyways if you want this plugins/dropins stuff work you need to add an
extra p2 plugin to your initial plugin set. I can't remember its name
and in case nobody follows up here you can ask at the equinox newsgroup.

BTW: Please state your Eclipse Version IIRC simply droping stuff to the
plugins folder isn't working any more in Eclipse and only the dropins
folder is scanned on every start.

Tom


Am 17.03.12 19:11, schrieb Jason Lee:
> Hi all,
>
> Now I have a RCP product with well-defined features.
> And my boss wants to add a new functoin to it.
>
> Before I think the RCP application is just like Eclipse. You can just
> copy a plugin to its "plugins" folder and the application can
> automatically load it. But after practicing, I found my thought was wrong.
>
> I created a new plugin and it worked well in my IDE. But when I just
> copied it to exported application, it couldn't be loaded automatically.
>
> I googled a lot and there was no answer.
>
> Do you know how to do that? Do I need to change some configuration of
> RCP product?
> Many thanks.
Re: How to create an auto-extendable RCP product? [message #823642 is a reply to message #823433] Sun, 18 March 2012 17:03 Go to previous message
Jason Lee is currently offline Jason LeeFriend
Messages: 3
Registered: March 2012
Junior Member
Thanks for your suggestions, Tom.

And do you mean I should use p2 repository to get some features/plugins? Do I need to create a update site?

Jason
Previous Topic:Restore expanded tree items in CommonNavigator
Next Topic:Why org.eclipse.equinox.simpleconfigurator/bundles.info can not be updated based on the plugins
Goto Forum:
  


Current Time: Thu Sep 26 16:25:16 GMT 2024

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

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

Back to the top