Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338123 - Support for the flag -addSources on p2-director-app
Summary: Support for the flag -addSources on p2-director-app
Status: NEW
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 12:36 EST by Hugues Malphettes CLA
Modified: 2012-09-13 16:35 EDT (History)
5 users (show)

See Also:


Attachments
-addSources support in p2 director app (11.53 KB, patch)
2011-02-24 12:36 EST, Hugues Malphettes CLA
no flags Details | Diff
launch configuration used to test the patch (10.26 KB, application/octet-stream)
2011-02-24 12:37 EST, Hugues Malphettes CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hugues Malphettes CLA 2011-02-24 12:36:34 EST
Created attachment 189723 [details]
-addSources support in p2 director app

Jeff McAfer added the ability to provision the source bundles in PDE without having to select each one of the source features in the bug #328929

This enhancement is a port of that code directly into p2director.
The suggested flag to enable the provisioning of the source bundles is 'addSources'.
Comment 1 Hugues Malphettes CLA 2011-02-24 12:37:52 EST
Created attachment 189724 [details]
launch configuration used to test the patch

This launch configuration installs the EclipseRTWebStarterKit of Helios.
Comment 2 Hugues Malphettes CLA 2011-02-28 03:23:40 EST
There are some efforts at the moment to re-use p2-director for various
purposes. In my biased opinion "-addSources" would fit quite well in p2director
itself. If you think there is a better home for it, let us know!
The 2 other places I am aware of is Eclipse Packaging "p2 bootstrapper"
(http://eclipsesource.com/blogs/2011/01/14/sap-likes-eclipse-runtime-technologies/)
and the equinox incubator where Tobias Oberlies is prototyping some extensions
to p2-director.

Another way to tackle would be to refactor p2-director so that it is possible
to extend it and build this type of thing without having to fork the whole
Director application class.
Comment 3 David Carver CLA 2012-09-13 16:35:34 EDT
Ian, is there anything we need to do to move this along.  If the current patch is stale, I can work with Hugues to get it refreshed.  Would be helpful in our companies use of p2Director to have this functionality.  

Currently we are running and maintaining a fork for this functionality.