Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Dropins folder in exported products
Dropins folder in exported products [message #498796] Wed, 18 November 2009 16:32 Go to next message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
Hi,

Everything is in the title Smile
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 #498816 is a reply to message #498796] Wed, 18 November 2009 17:25 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hello Cedric,

If you do not p2-ify your product then this drop-ins or install new software
does not work. Check this article on how to do that.

http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application

Hope this helps,

Wim Jongman

P.S.
This will all be covered in the Advance RCP courses that are currently being
organized over the world (I don't say you need a course, I just wanted to
plug the training series ;-) see http://www.eclipse.org


n 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 #498912 is a reply to message #498796] Thu, 19 November 2009 08:07 Go to previous messageGo to next message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
Hi Wim,

Thanks for the tip, I'll try it asap.

Of course it would please me to take part to your Advanced RCP course but I'm not sure that our boss will agree for it Smile
Re: Dropins folder in exported products [message #499285 is a reply to message #498796] Fri, 20 November 2009 16:46 Go to previous messageGo to next message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
I works with a Hello World exemple (p2 inclusion, dropin folder) and that's very nice Smile

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 Go to previous message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
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.

Previous Topic:Re: MacOS: SWT instead the application's name at menu
Next Topic:How to have a Dialog be a ISelectionListener
Goto Forum:
  


Current Time: Thu Dec 12 20:28:02 GMT 2024

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

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

Back to the top