[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Possible to use a dropins folder for an RCP application
Possible to use a dropins folder for an RCP application [message #1478385] Tue, 18 November 2014 16:44 Go to next message
Phil Beauvoir is currently offline Phil BeauvoirFriend
Messages: 62
Registered: October 2012
Member
I'm trying to get my RCP application to recognise plugins dropped into a specified "dropins" folder. So far, no luck. This is what I've done:

I added the following additional p2 plugins to the RCP app product:

<plugin id="org.eclipse.equinox.frameworkadmin"/>
<plugin id="org.eclipse.equinox.frameworkadmin.equinox"/>
<plugin id="org.eclipse.equinox.p2.artifact.repository"/>
<plugin id="org.eclipse.equinox.p2.core"/>
<plugin id="org.eclipse.equinox.p2.director"/>
<plugin id="org.eclipse.equinox.p2.directorywatcher"/>
<plugin id="org.eclipse.equinox.p2.engine"/>
<plugin id="org.eclipse.equinox.p2.extensionlocation"/>
<plugin id="org.eclipse.equinox.p2.garbagecollector"/>
<plugin id="org.eclipse.equinox.p2.jarprocessor"/>
<plugin id="org.eclipse.equinox.p2.metadata"/>
<plugin id="org.eclipse.equinox.p2.metadata.repository"/>
<plugin id="org.eclipse.equinox.p2.publisher"/>
<plugin id="org.eclipse.equinox.p2.publisher.eclipse"/>
<plugin id="org.eclipse.equinox.p2.reconciler.dropins"/>
<plugin id="org.eclipse.equinox.p2.repository"/>
<plugin id="org.eclipse.equinox.p2.touchpoint.eclipse"/>
<plugin id="org.eclipse.equinox.simpleconfigurator"/>
<plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
<plugin id="org.sat4j.core"/>
<plugin id="org.sat4j.pb"/>

And added the following line to the RCP application's Archi.ini file (the RCP app is named Archi.exe):

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/Archi/dropins

Then I placed a couple of plugins in that dropins folder, launched the RCP app and...nothing.

I checked the installed plugins running in the RCP app and the p2 plugins are there, but not the ones in the dropins folder.

(The plugins do register if I put them in the RCP app's "plugins" folder.

Is it possible to do this?

[Updated on: Tue, 18 November 2014 16:45]

Report message to a moderator

Re: Possible to use a dropins folder for an RCP application [message #1831435 is a reply to message #1478385] Wed, 19 August 2020 18:16 Go to previous messageGo to next message
Richard Zepeda is currently offline Richard ZepedaFriend
Messages: 1
Registered: August 2020
Junior Member
I know this is a very old question with no answer (here) but I came here as a result from a recent search on this topic.

Phil, the short answer to your question is yes.

I do believe that the org.eclipse.equinox.p2.reconciler.dropins plugin needs to be auto-started. This may not be the full solution to the issue, but you will need to add the org.eclipse.equinox.p2.reconciler.dropins to your product configuration and set Auto-Start to true (Product Editor, Configuration tab, Start Levels section).
Re: Possible to use a dropins folder for an RCP application [message #1831468 is a reply to message #1831435] Thu, 20 August 2020 11:42 Go to previous message
Phil Beauvoir is currently offline Phil BeauvoirFriend
Messages: 62
Registered: October 2012
Member
Hi Richard, thanks for that. In fact I got this working last year.

Regards,

Phil
Previous Topic:Help with debugging update mechanism
Next Topic:Conflicting Dependencies
Goto Forum:
  


Current Time: Thu Dec 12 16:50:51 GMT 2024

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

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

Back to the top