commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Grobmeier (JIRA)" <>
Subject [jira] Created: (SANDBOX-296) Ar doesn't delete correct
Date Tue, 03 Mar 2009 07:10:56 GMT
Ar doesn't delete correct

                 Key: SANDBOX-296
             Project: Commons Sandbox
          Issue Type: Bug
          Components: Compress
            Reporter: Christian Grobmeier

When working on the Testcases i figured out that a deletion from an Ar Archive is not as successful
as it look at first glance.
For example: my file contains test1.xml and test2.xml. I delete test2.xml

The "getNextEntry" Method just delivers test1.xml. Looks correct.

But checking the result file at commandline brings the following:

$> ar -t /tmp/dir26673/

vi shows me that there is still the test2.xml entry in the archive,
even when getNextEntry returns null.

Deleting test2.xml and adding test.txt afterward brings the following:

$> ar -t /tmp/dir24825/
ar: /tmp/dir24825/ Inappropriate file type or format

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

View raw message