PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3287 *** shadow/3287 Wed Sep 5 17:00:37 2001 --- shadow/3287.tmp.15759 Wed Sep 5 17:23:56 2001 *************** *** 2,13 **** | jar with manifest broken in 1.5 alpha | +----------------------------------------------------------------------------+ | Bug #: 3287 Product: Ant | ! | Status: REOPENED Version: 1.5 alpha (nightly) | | Resolution: Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: Core | +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | | CC list: Cc: | +----------------------------------------------------------------------------+ --- 2,13 ---- | jar with manifest broken in 1.5 alpha | +----------------------------------------------------------------------------+ | Bug #: 3287 Product: Ant | ! | Status: NEW Version: 1.5 alpha (nightly) | | Resolution: Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: Core | +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | | CC list: Cc: | +----------------------------------------------------------------------------+ *************** *** 113,115 **** --- 113,125 ---- example returns null only for the ant-created jar. + + + ------- Additional Comments From [EMAIL PROTECTED] 2001-09-05 17:23 ------- + I see the problem. It seems that JarInputStream requires the META-INF and + MANIFEST.MF entries to be the first two entries in the jar file regardless of + their Zipfile path. That isn't documented. For example try a JarFile and it + should work. + + OK, while it arises from the JDK's implementation, it is a bug in Ant. I'll + look into fixing it.
