DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13359>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13359 jar task produces ZIP files, jar command produces java programs Summary: jar task produces ZIP files, jar command produces java programs Product: Ant Version: 1.5.1 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] jar xmf foof A.jar produces a file that starts (first 16 chars in octal and ascii) 0000000 120 113 003 004 024 000 010 000 010 000 233 134 070 055 000 000 P K 003 004 024 \0 \b \0 \b \0 233 \ 8 - \0 \0 while the jar task produces a file CreditStrat.jar, <jar jarfile="${file}" > <manifest> <attribute name="Class-Path" value="try-fiasco.jar "/> <attribute name="Main-Class" value="${file}"/> </manifest> </jar> produces a file that starts 0000000 120 113 003 004 012 000 000 000 000 000 250 116 107 055 000 000 P K 003 004 \n \0 \0 \0 \0 \0 250 N G - \0 \0 The system will try to execute the former using a java JVM, but not the latter. the file command shows this another way: file *.jar A.jar: java program CreditStrat.jar: ZIP archive -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
