commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Glas <>
Subject Re: [compress] JarMarker
Date Fri, 13 Feb 2009 08:57:51 GMT
Torsten Curdt schrieb:
>> Solaris contains some special code which allows people to mark jar
>> files executable and run them as if they were native commands.  It
>> will only work for jars that contain the sequence 0xCAFE (in
>> big-endian order) somewhere at the beginning, which is achieved by
>> adding an extra field with that header id.
>> See <>
>> This is the already existing JarMarker extra field in compress.
>> Ant's <jar> task adds this extra field to the META-INF directory
>> because it knows this is always going to be the very first entry for
>> Ant created jars.
>> I propose to modify JarArchiveOutputStream to add a JarMarker extra
>> field to the very first entry written to the stream.
> Makes sense +1

I double this opinion +1

sum: +2


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message