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

Bug 330460

Summary: [planner] p2 director does not install source bundles from optional features
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bvitale3002, jeffmcaffer, kim.moir, leberre, pascal
Version: 3.7   
Target Milestone: 3.6.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 329279    
Bug Blocks: 329202    

Description DJ Houghton CLA 2010-11-17 10:14:20 EST
Cloned to track release into R3.6.x maintenance branch.

+++ This bug was initially created as a clone of Bug #329279 +++

As a result of investigating bug 329202, Andrew, DJ and I discovered that the director isn't installing optional source features for the SDK.  The eclipse SDK generates the platform source feature and optional equinox.p2.user.ui.source feature.  If you run the p2.director from M3 with the following arguments, the org.eclipse.equinox.p2.user.ui feature and associated bundles will be included in the install, but not org.eclipse.equinox.p2.user.ui.source components.

 -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog  -metadataRepository http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7M2a-201009211024 -artifactRepository http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7M2a-201009211024 -installIU org.eclipse.sdk.ide  -os linux -ws gtk -arch x86 -destination c:\installSDK -profile SDKProfile  -profileProperties org.eclipse.update.install.features=true

This issue first appeared during M3, as the M2a build seems fine.
Comment 1 DJ Houghton CLA 2010-11-17 10:22:11 EST
Released and tagged in R36x.