| Summary: | Ability to extend the p2director application | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Hugues Malphettes <hmalphettes> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | pwebster, remy.suen, t-oberlies |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
| Attachments: | |||
I don't understand the patch - it doesn't modify any existing classes. Which changes do you want in the DirectorApplication class? Created attachment 196762 [details]
missing part of the patch: the actual DirectorApplication class modifications
Tobias, somehow I managed to not include the chages to DirectorApplication into the previous patch.
The previous patch is the example of extended DirectorApplication.
Without this example, the chages to the original DirectorApplication class don't make much sense.
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. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |
Created attachment 195488 [details] pacth with some refactoring for the DirectorApplication class and extended DirectorApp to take advantage of it. This enhancement request consist of making a few methods protected in the DirectorApplication to be able to extend it. The use case is an extended DirectorApplication that supports the flag -withSources. When the flag is on, director will provision lazily the source bundles that it can find. The patch affects only the DirectorApplication class. The patch includes the use case and a launch configuration to test it. I would be interested in having p2 director support the flag -withSources out of the box although maybe it is out of the scope of what it does.