ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31833] New: - jar task mangles Name: entries in MANIFEST.MF for signed classes
Date Thu, 21 Oct 2004 18:03:38 GMT
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


Mime
View raw message