Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Does e4 RCP support adding features (plug-ins) by copying them into the plug-in directory?
Does e4 RCP support adding features (plug-ins) by copying them into the plug-in directory? [message #1734233] Mon, 06 June 2016 13:28 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 197
Registered: March 2012
Location: North Carolina
Senior Member
Does e4 RCP support adding features (plug-ins) by copying them into the plug-in directory?

I have an e4 based RCP application in development. The target platforms are Windows, MAC and *unix. The UI is JavaFX FXML.

I have a requirement to add and remove eclipse features to the RCP. The existing update feature (<feature id="org.eclipse.equinox.p2.user.ui"/>) is not compatible with JavaFX FXML and e4. I don't have the skill level, or the time to figure out how to port the p2.user.ui feature over to e4 JavaFX FXML.

While brain-storming on other possible options I remembered that a long while back eclipse plug-ins were installed by downloading a zip file that contained the plug-in and coping the zip file into the "plugins" directory. If my understanding is correct the "dropins" directory is the current implementation.

Question 1) Does the e4 RCP framework support the old plugins method?
Question 2) Does the e4 RCP framework support adding eclipse features using the old plugins method?
Question 3) Does the e4 RCP framework support the new dropins method?
Question 4) Does the e4 RCP framework support adding eclipse features using the dropins method?
Question 5) What is the difference between the dropins method and the plugins method?
Re: Does e4 RCP support adding features (plug-ins) by copying them into the plug-in directory? [message #1734239 is a reply to message #1734233] Mon, 06 June 2016 13:51 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2526
Registered: July 2012
Senior Member
I wrote a blog post a while ago on how to add p2 update functionality to an e(fx)clipse based application: https://blog.codecentric.de/en/2015/04/add-p2-update-functionality-to-an-efxclipse-application-eclipse-rcp-cookbook/
But there you have no UI like within Eclipse, but background updates work fine.

Regarding your questions, I would recommend to read the documentation or search the web. Technically there is no difference between Eclipse 3.x and Eclipse 4.x. Both are based on OSGi, both use Equinox as OSGi implementation, both use Equinox p2 as update mechanism.

https://wiki.eclipse.org/Equinox/p2/Getting_Started
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html
http://stackoverflow.com/questions/2763843/eclipse-plugins-vs-features-vs-dropins
Previous Topic:name of the active bundle
Next Topic:Export RCP don't work
Goto Forum:
  


Current Time: Thu Nov 23 12:37:52 GMT 2017

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

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