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

Bug 323298

Summary: Manifest of org.eclipse.pde.build lacks Eclipse-BundleShape directive
Product: [Eclipse Project] PDE Reporter: Thomas Hallgren <thomas>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: aniefer
Version: 3.6   
Target Milestone: 3.7 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Hallgren CLA 2010-08-20 17:46:07 EDT
The org.eclipse.pde.build bundle must be unpacked in order to function correctly but the MANIFEST.MF does not contain the directive:

 Eclipse-BundleShape: dir

The current install relies on the fact that an "unpack" has been declared in a feature.xml. This leads to problems when the bundle is installed by other means then an explicit feature include. In my case, I had a requirement instead of an include.
Comment 1 Thomas Hallgren CLA 2010-08-23 05:45:01 EDT
Wrong wording in last comment. It's not the "install" that suffers, it's the p2 publisher. It will not add the needed touchpoint to unzip the bundle unless a BundleShapeAdvice is added. That only happens when a feature explicitly includes the bundle with unpack directive.

I'm lowering the priority on this bug since very few people are likely to actually publish this bundle.
Comment 2 Andrew Niefer CLA 2010-08-23 17:18:31 EDT
Added the EclipseBundleShape header in for 3.7