DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31833>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31833

jar task mangles Name: entries in MANIFEST.MF for signed classes

           Summary: jar task mangles Name: entries in MANIFEST.MF for signed
                    classes
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


My jar task is such:
<jar manifest=${base}/${classes}/meta-inf/MANIFEST.MF"
     destfile="${base}/${lib}/deleteme.jar" 
     basedir="${base}/${classes}"/>

The MANIFEST.MF file contains several entries, such as:

Name: com/sun/msv/reader/trex/ng/comp/DefAttCompatibilityChecker$DefAt
 tMap.class
SHA1-Digest: zUbCbacRjUSc7G+3JLftrRVJ50k=


The jar task concatenates the Name: entry onto 1 line, thusly:

Name: com/sun/msv/reader/trex/ng/comp/DefAttCompatibilityChecker$DefAttMap.class
SHA1-Digest: zUbCbacRjUSc7G+3JLftrRVJ50k=

This is causing an invalid MANIFEST.MF, since the line exceeds the 72-char 
limit defined in the JAR file spec.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to