commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COMPRESS-44) mark jars as executable archives on Solaris
Date Tue, 24 Mar 2009 05:11:51 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Bodewig updated COMPRESS-44:
-----------------------------------

    Fix Version/s: 1.0

> mark jars as executable archives on Solaris
> -------------------------------------------
>
>                 Key: COMPRESS-44
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-44
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Stefan Bodewig
>            Assignee: Stefan Bodewig
>            Priority: Minor
>             Fix For: 1.0
>
>
> 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 <https://issues.apache.org/bugzilla/show_bug.cgi?id=32649>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message