Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345578 - Ability to extend the p2director application
Summary: Ability to extend the p2director application
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 06:51 EDT by Hugues Malphettes CLA
Modified: 2019-11-14 02:19 EST (History)
3 users (show)

See Also:


Attachments
pacth with some refactoring for the DirectorApplication class and extended DirectorApp to take advantage of it. (22.69 KB, patch)
2011-05-12 06:51 EDT, Hugues Malphettes CLA
no flags Details | Diff
missing part of the patch: the actual DirectorApplication class modifications (3.87 KB, patch)
2011-05-27 10:19 EDT, Hugues Malphettes CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hugues Malphettes CLA 2011-05-12 06:51:54 EDT
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.
Comment 1 Tobias Oberlies CLA 2011-05-27 10:11:30 EDT
I don't understand the patch - it doesn't modify any existing classes. Which changes do you want in the DirectorApplication class?
Comment 2 Hugues Malphettes CLA 2011-05-27 10:19:46 EDT
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.
Comment 3 Lars Vogel CLA 2019-11-14 02:19:13 EST
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.