| Summary: | additional line feeds would make the generated manifest more readable | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Timothy Redmond <tredmond> |
| Component: | bundlor | Assignee: | Project Inbox <virgo-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | antonlem78, dmarthaler, eclipse, frieder.heugel, glyn.normington, mlippert |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 368782 | ||
|
Description
Timothy Redmond
Thanks for raising this. Seems like a reasonable requirement. Flagging as "help wanted" because it's a relatively self-contained change and I want to encourage potential contributors to have a crack at developing a patch. *** Bug 398624 has been marked as a duplicate of this bug. *** Quick look at the code reveals that writing of the manifest is initiated by "org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest" which in turn delegates the writing further to an instance of "java.util.jar.Manifest". The "\r\n" after 72 characters is actually implemented in [1] respectively in [2]. For the described enhancement we need to amend "org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest.write(Writer writer)" by using some kind of extended "java.util.jar.Manifest" implementation which allows to insert line breaks other than each 72 characters. [1] http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/jar/Manifest.java#Manifest.write%28java.io.OutputStream%29 [2] http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/jar/Manifest.java#Manifest.make72Safe%28java.lang.StringBuffer%29 |