|Re: Multiple Dropins folders for RCP application [message #556184 is a reply to message #553368]
||Tue, 31 August 2010 08:45
| Murthy Bhat
Registered: July 2009
I have tried a solution to work around this and I do not know if this is the best solution out there.|
The main plugin which is responsble for the reconciling and 'dropins' behavior in p2 is 'org.eclipse.equinox.p2.reconciler.dropins' .I downloaded the source cod for the same and did the customization part for also adding my list of files in the dropins directory list.
I had to do a lot of research to know that I would need
' org.eclipse.equinox.ds' as a dependency in my RCP as it does not add itself using the 'add required plugins' option.
And in the RCP which needs this behavior, i had it depend on this plugin and have my plugin start before the RCP plugin. So my configuration section in the .product file looks something like below
<plugin id="com.test.rcp" autoStart="false" startLevel="6" />
<plugin id="com.custom.equinox.p2.reconciler.dropins" autoStart="true" startLevel="5" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
This works for me currently in both Galileo and Helios, provided i modify the respective reconciler plugin sources. Because the 'org.eclipse.equinox.p2.reconciler.dropins' is different for Helios and Galileo.
[Updated on: Tue, 31 August 2010 09:04]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03260 seconds