Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312806

Summary: Implementing dropins for a product requires configuring plug-ins and start levels.
Product: [Eclipse Project] PDE Reporter: Kenneth Evans, Jr. <evans>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: curtis.windatt.public, pascal
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: stalebug

Description Kenneth Evans, Jr. CLA 2010-05-13 11:21:55 EDT
Build Identifier: Build id: M20090917-0800

I find that to implement dropins for p2 in an RCP app I have to do two things:

1. Make a p2.inf file with the following line:

instructions.install = mkdir(path:${installFolder}/dropins);

and put it in one of the approved places, e.g. in the same directory as the .product file.  This causes the product export wizard to create a dropins folder, but p2 does not look for plug-ins and features in it.

2. Add org.eclipse.equinox.p2.reconciler.dropins to the .product configuration tab and set its start level to default.  Once you do this, you have to add all the other required ones and their start levels.  This is made harder since the documentation for the start levels is wrong (Bug #304338), at least in my version of Eclipse.

I have written many RCP apps.  I have never had to do anything with the Configuration tab before.  I think there should be an easier and more robust way to do this.

Perhaps there _is_ an easier way, but I have spent significant time searching for one and not found it.  It took a long time, in fact, to find the information to do what I describe above.  It was well hidden in forums topics and the like.  It is a problem that there are no readily available documentation or tutorials to add p2 dropins support, something I would guess many developers would want to do.

Thank you for your time, and I apologize if it just my failure to find the better way.

Reproducible: Always

Steps to Reproduce:
1. See the details section
2.
3.
Comment 1 Pascal Rapicault CLA 2010-05-13 16:06:32 EDT
PDE is most likely the best place to have such information pre-populated.
Comment 2 Curtis Windatt CLA 2010-05-13 16:15:24 EDT
I don't think PDE will provide a specialized function to set up a product for dropins.  I'll leave the request open.  

Isn't there some work being done (GSoC?) to provide advanced tools for creating/working with p2 enabled products?
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:06:00 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Julian Honnen CLA 2019-09-09 02:34:29 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.