Bug 240116 - Long symbolic bundle names get truncated when creating bundle jars
Summary: Long symbolic bundle names get truncated when creating bundle jars
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-07-09 02:14 EDT by Douglas Palmer CLA
Modified: 2019-02-25 14:41 EST (History)
1 user (show)

See Also:


Attachments
Patch that fixes the issue (898 bytes, patch)
2008-07-09 02:14 EDT, Douglas Palmer CLA
thomas: iplog+
Details | Diff

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