Community
Participate
Working Groups
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'.
Created attachment 189724 [details] launch configuration used to test the patch This launch configuration installs the EclipseRTWebStarterKit of Helios.
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.
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.