Dropins folder in exported products [message #498796] |
Wed, 18 November 2009 16:32 |
|
Hi,
Everything is in the title
I need to use the dropins mechanism on an exported RCP product but it doesn't seems to works.
I also tried the old way by copying the jar of the plugin I want to use inside the "plugin" folder of my product.
I saw that a file called config.ini located in the configuration folder listed all plugins that are loaded by the product which seems bad for me.
Has anyone a solution to import a plugin in an RCP application ?
I'm running on Windows and I tested the dropin with an exported product on eclipse 3.4 and 3.6.
Thanks,
Cédric
|
|
|
|
|
Re: Dropins folder in exported products [message #499285 is a reply to message #498796] |
Fri, 20 November 2009 16:46 |
|
I works with a Hello World exemple (p2 inclusion, dropin folder) and that's very nice
But, I can't get it work on a more complex application.
Here is my configuration:
I have 1 plugin project for the product itself, 1 other for the application, and other plugin which compose the whole application.
So, to simulate a more complex application with my Hello world, I just externalized the product to another plugin project.
This gives me the following projects:
- testApp
- testProduct
When I launch the build, I get the follow error:
workspace\org.eclipse.pde.build\scripts\productBuild\productBuild.xml:68: Unable to find plug-in: testApp_0.0.0. Please check the error log for more details.
I tried to attach my workspace but it doesn't seems to work...
Thanks in advance,
|
|
|
Re: Dropins folder in exported products [message #500457 is a reply to message #499285] |
Thu, 26 November 2009 09:13 |
|
I get it work by adding these two plugins:
org.eclipse.equinox.p2.reconciler.dropins
org.eclipse.equinox.p2.exemplarysetup
and their required plugins.
Then add
org.eclipse.equinox.p2.reconciler.dropins
in the configuration tab to make it autostart.
After exporting the product, I added a dropins folder in the root directory, dropped a plugin jar in, and everything works fine.
|
|
|
Powered by
FUDForum. Page generated in 0.03793 seconds