commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spicar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-158) Empty directories missing in zip archive
Date Fri, 23 Sep 2011 13:03:26 GMT

     [ 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

        

Mime
View raw message