Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 64280 invoked from network); 18 Feb 2009 15:55:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 15:55:27 -0000 Received: (qmail 57334 invoked by uid 500); 18 Feb 2009 15:55:25 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 57274 invoked by uid 500); 18 Feb 2009 15:55:25 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 57263 invoked by uid 99); 18 Feb 2009 15:55:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 07:55:25 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 15:55:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A7892234C48C for ; Wed, 18 Feb 2009 07:55:04 -0800 (PST) Message-ID: <1113100531.1234972504671.JavaMail.jira@brutus> Date: Wed, 18 Feb 2009 07:55:04 -0800 (PST) From: "Stefan Bodewig (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (SANDBOX-289) mark jars as executable archives on Solaris In-Reply-To: <1512764823.1234972381768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bodewig resolved SANDBOX-289. ------------------------------------ Resolution: Fixed svn revision 745545 > mark jars as executable archives on Solaris > ------------------------------------------- > > Key: SANDBOX-289 > URL: https://issues.apache.org/jira/browse/SANDBOX-289 > Project: Commons Sandbox > Issue Type: Improvement > Components: Compress > Reporter: Stefan Bodewig > Assignee: Stefan Bodewig > Priority: Minor > > 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 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.