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] - jar task mangles Name: entries in MANIFEST.MF for signed classes
Date Fri, 22 Oct 2004 13:36:11 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

danesub@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From danesub@yahoo.com  2004-10-22 13:36 -------

The attached ant script will recreate the problem. The mangling of the
manifest.mf file only appears to happen when I run this on a Mac.
However, on both a Mac and an PC, the jar task ultimately yields a 
.jar file that won't pass verification.

This ant script creates 2 jar files: jartask.jar and ziptask.jar
After running ant, run

jarsigner -verify jartask.jar

and

jarsigner -verify ziptask.jar

The jartask.jar fails verification. The ziptask.jar gets warnings
about unsigned entries.

Note: I wasn't able to attach the jaxb-libs.jar file. However, all three
of the jaxb jar files are from Sun's JWSDP 1.4 kit; they're found in
the jwsdb-1.4/jaxb/lib directory. The web services developer pack is 
available at 

http://java.sun.com/webservices/downloads/webservicespack.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message