Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323298 - Manifest of org.eclipse.pde.build lacks Eclipse-BundleShape directive
Summary: Manifest of org.eclipse.pde.build lacks Eclipse-BundleShape directive
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.7 M2   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 17:46 EDT by Thomas Hallgren CLA
Modified: 2010-08-23 17:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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