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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2004-10-22 11:40 ------- I can't reproduce this. I wrote this build file: <project> <delete file="test.jar"/> <jar manifest="manifest.mf" destfile="test.jar"/> <unjar src="test.jar" dest="unjared" overwrite="true"/> <concat> <fileset dir="unjared"/> </concat> </project> It will create a manifest-only jar from the manifest.mf file and then unjar it, displaying its contents with concat. I created a manifest.mf file as you specified (and I also added a few other test entries such as longer lines, lines with no continuation space, etc). Here is the output for me: [delete] Deleting: D:\development\apache\ant-bugs\31833\test.jar [jar] Building MANIFEST-only jar: D:\development\apache\ant-bugs\31833\test.jar [jar] Building jar: D:\development\apache\ant-bugs\31833\test.jar [delete] Deleting directory D:\development\apache\ant-bugs\31833\unjared [unjar] Expanding: D:\development\apache\ant-bugs\31833\test.jar into D:\development\apache\ant-bugs\31833\unjared [concat] Manifest-Version: 1.0 [concat] Ant-Version: Apache Ant 1.7alpha [concat] Created-By: 1.5.0-beta2-b51 (Sun Microsystems Inc.) [concat] Main-Class: blah [concat] Name: com/sun/msv/reader/trex/ng/comp/DefAttCompatibilityChecker$DefAt [concat] tMap.class [concat] SHA1-Digest: zUbCbacRjUSc7G+3JLftrRVJ50k= [concat] Name: com/sun/msv/reader/trex/ng/comp/DefAttCompatibilityChecker$DefAt [concat] tMap2.class [concat] SHA1-Digest: zUbCbacRjUSc7G+3JLftrRVJ50k= [concat] Name: com/sun/msv/reader/trex/ng/comp/DefAttCompatibilityChecker$DefAt [concat] tMapAreallyBigClassName.class [concat] SHA1-Digest: zUbCbacRjUSc7G+3JLftrRVJ50k= It all looks ok to me. I tries with Ant 1.6.0 and Ant 1.7 (CVS) Can you give us more detail on your problem? In particular you say "The jar task concatenates the Name: entry onto 1 line". How are you seeing that? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]