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 32649] - ant-produced jar files don't match those produced by java.util.jar.JarOutputStream
Date Mon, 20 Dec 2004 04:53: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=32649>.
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=32649





------- Additional Comments From stevel@apache.org  2004-12-20 05:53 -------
We can handle a delay, after all, we have no schedule for the next release.

One question: are you trying to look for a magic number at an offset in the
binary, or are you parsing the zip file?

A magic number pattern is most like classic unix exe lookup, but is inordinately
brittle against different legitimate layouts of ZIP files. You should really be
recognising the PK DWORD at the beginning of the file and say 'this is a zip,
lets look inside it *using the zip algorithm* and see if it has a manifest. 

Presence of a valid manifest is what should really determine if a jar is
executable. If that aint there, you wont know which class to execute, etc, etc.
Since we do produce valid manifests if asked to, that should all work. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message