You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Curtis Boyden (JIRA)" <ji...@apache.org> on 2010/09/24 17:31:32 UTC

[jira] Created: (VFS-322) Tar files to contain files over 2GB in size

Tar files to contain files over 2GB in size
-------------------------------------------

                 Key: VFS-322
                 URL: https://issues.apache.org/jira/browse/VFS-322
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Curtis Boyden
            Priority: Minor


It would be nice to be able to work with tar files that contain files over 2GB in size.

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


[jira] Resolved: (VFS-322) Tar files to contain files over 2GB in size

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers resolved VFS-322.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

The patch was applied. Please verify and close.

> Tar files to contain files over 2GB in size
> -------------------------------------------
>
>                 Key: VFS-322
>                 URL: https://issues.apache.org/jira/browse/VFS-322
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Curtis Boyden
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: PDI-3157.patch
>
>
> It would be nice to be able to work with tar files that contain files over 2GB in size.

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


[jira] Updated: (VFS-322) Tar files to contain files over 2GB in size

Posted by "Curtis Boyden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Curtis Boyden updated VFS-322:
------------------------------

    Attachment: PDI-3157.patch

I have attached a patch that modifies the TarInputStream to iterate in Integer.MAX_SIZE blocks over the void skip(int) method if the size of a file is greater then Integer.MAX_SIZE.
There is also a unit test attached that generates a 3MB tar.gz that contains a 3GB .tar containing a 3GB .txt file and verifies that the contents are correct.

I hope this is useful and I would like to see this feature make it into the official VFS code line. (Pelase feel free to change the impl if you can improve it)

-Curtis

> Tar files to contain files over 2GB in size
> -------------------------------------------
>
>                 Key: VFS-322
>                 URL: https://issues.apache.org/jira/browse/VFS-322
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Curtis Boyden
>            Priority: Minor
>         Attachments: PDI-3157.patch
>
>
> It would be nice to be able to work with tar files that contain files over 2GB in size.

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


[jira] Commented: (VFS-322) Tar files to contain files over 2GB in size

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927158#action_12927158 ] 

Ralph Goers commented on VFS-322:
---------------------------------

I tried to apply the patch but the unit test uses Junit 4 and the build is complaining that annotations and generics aren't supported in Java 1.4.

> Tar files to contain files over 2GB in size
> -------------------------------------------
>
>                 Key: VFS-322
>                 URL: https://issues.apache.org/jira/browse/VFS-322
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Curtis Boyden
>            Priority: Minor
>         Attachments: PDI-3157.patch
>
>
> It would be nice to be able to work with tar files that contain files over 2GB in size.

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