Skip to main content



      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 14:11 Go to next message
Eclipse UserFriend
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 05:17 Go to previous messageGo to next message
Eclipse UserFriend
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 13:03 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 23:30:49 EDT 2025

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

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

Back to the top