[ 
http://jira.codehaus.org/browse/MNG-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=132779#action_132779
 ] 

Dennis Lundberg commented on MNG-3551:
--------------------------------------

The MANIFEST.MF file you mention is following the JAR file specification at 
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files

{quote}
* Line length:

No line may be longer than 72 bytes (not characters), in its UTF8-encoded form. 
If a value would make the initial line longer than this, it should be continued 
on extra lines (each starting with a single SPACE). 
{quote}

May I suggest that you file a bug for the software that is unable to read such 
a manifest.


> MANIFEST.MF in commons-attributes-api has bad line breaks
> ---------------------------------------------------------
>
>                 Key: MNG-3551
>                 URL: http://jira.codehaus.org/browse/MNG-3551
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>            Reporter: Craig
>
> The MANIFEST.MF file in commons-attributes-api 2.2 has some bad line breaks 
> that prevent applications that use it from working.
> From http://forum.springframework.org/showthread.php?t=31092 :
> There seems to be a malformed MANIFEST.MF in the 
> commons-attributes-compiler.jar library. You should unpack the library (with 
> winzip or whatever), repair the MANIFEST.MF file there, so that the lines 
> that have been dropped to the second line and added an empty space to the 
> beginning, are rejoined to the line above them, without the empty space, and 
> then pack the jar file again (with winzip or whatever and rename as .jar, not 
> .zip).
> The suggested fix does work - can you fix the copy in the repository? Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to