Bug 240116

Summary: Long symbolic bundle names get truncated when creating bundle jars
Product: z_Archived Reporter: Douglas Palmer <douglas.john.palmer>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: thomas
Version: unspecifiedKeywords: contributed
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch that fixes the issue thomas: iplog+

Description Douglas Palmer CLA 2008-07-09 02:14:20 EDT
Created attachment 106914 [details]
Patch that fixes the issue

Build ID: M20080221-1800

Steps To Reproduce:
1. Create a plugin with a long symbolic bundle name. 
2. Materialise the plugin.
3. Perform a build of the plugin

The jar generated will be invalid because it doesn't contain the whole symbolic bundle name.


More information:
The problem occurs because the regular expressions in the build.xml file shipped with org.eclipse.buckminster.pde do not expect wrapped manifest lines. However, calls to java.util.jar.Manifest.write() will wrap and line longer than 72 bytes.

The attached patch unwraps the BundleSymbolic name line before extracting it.  The patch was generated against the Platform-3.3.x branch.
Comment 1 Thomas Hallgren CLA 2008-07-15 02:47:53 EDT
Patch applied in revision 9451.

Thanks.