You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/10/21 20:03:38 UTC

DO NOT REPLY [Bug 31833] New: - jar task mangles Name: entries in MANIFEST.MF for signed classes

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: dev@ant.apache.org
        ReportedBy: danesub@yahoo.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org