Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72D439677 for ; Fri, 23 Sep 2011 13:03:50 +0000 (UTC) Received: (qmail 64575 invoked by uid 500); 23 Sep 2011 13:03:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 64517 invoked by uid 500); 23 Sep 2011 13:03:50 -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 64509 invoked by uid 99); 23 Sep 2011 13:03:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 13:03:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 13:03:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 71B53AB353 for ; Fri, 23 Sep 2011 13:03:26 +0000 (UTC) Date: Fri, 23 Sep 2011 13:03:26 +0000 (UTC) From: "Daniel Spicar (JIRA)" To: issues@commons.apache.org Message-ID: <379308080.6389.1316783006462.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1547350094.6366.1316782707026.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COMPRESS-158) Empty directories missing in zip archive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COMPRESS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Spicar updated COMPRESS-158: ----------------------------------- Attachment: CompressionUtil.java test.zip CompressionUtil - Code used to produce the problem. test.zip - contains a directory that when ziped using the code from CompressionUtil exhibits the problem of the empty directory disappearing > Empty directories missing in zip archive > ---------------------------------------- > > Key: COMPRESS-158 > URL: https://issues.apache.org/jira/browse/COMPRESS-158 > Project: Commons Compress > Issue Type: Bug > Affects Versions: 1.2 > Environment: Java 1.6, Ubuntu Linux (ext4 fs) > Reporter: Daniel Spicar > Priority: Minor > Attachments: CompressionUtil.java, test.zip > > > When zipping a directory that contains several files and subdirectories of which some can be empty, I am missing empty directories. When using a tar archive format empty directories are present. > I have found https://issues.apache.org/jira/browse/COMPRESS-105 which describes a similar issue, however I am unable to reproduce the solution suggested there. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira