Return-Path:
X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org
Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id B84279540
for ;
Sat, 10 Mar 2012 06:46:53 +0000 (UTC)
Received: (qmail 12601 invoked by uid 500); 10 Mar 2012 06:46:53 -0000
Delivered-To: apmail-ant-notifications-archive@ant.apache.org
Received: (qmail 12551 invoked by uid 500); 10 Mar 2012 06:46:52 -0000
Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@ant.apache.org
Delivered-To: mailing list notifications@ant.apache.org
Received: (qmail 12530 invoked by uid 99); 10 Mar 2012 06:46:52 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Mar 2012 06:46:52 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Mar 2012 06:46:49 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id 5363F238897A
for ; Sat, 10 Mar 2012 06:46:28 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1299152 - in /ant/antlibs/compress/trunk:
docs/archive.html
src/main/org/apache/ant/compress/taskdefs/Tar.java
Date: Sat, 10 Mar 2012 06:46:28 -0000
To: notifications@ant.apache.org
From: bodewig@apache.org
X-Mailer: svnmailer-1.0.8-patched
Message-Id: <20120310064628.5363F238897A@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: bodewig
Date: Sat Mar 10 06:46:27 2012
New Revision: 1299152
URL: http://svn.apache.org/viewvc?rev=1299152&view=rev
Log:
adapt to changes in tar package, now supports big (or negative) file modification times or big group numbers as well
Modified:
ant/antlibs/compress/trunk/docs/archive.html
ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java
Modified: ant/antlibs/compress/trunk/docs/archive.html
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/docs/archive.html?rev=1299152&r1=1299151&r2=1299152&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/docs/archive.html (original)
+++ ant/antlibs/compress/trunk/docs/archive.html Sat Mar 10 06:46:27 2012
@@ -310,16 +310,17 @@
support is not complete.
The Compress Antlib follows Commons Compress' support. Currently
- the format affects two areas, files bigger than 8 GiB and entries
- with names longer than 100 characters. For Commons Compress these
- areas can be configured separately while the Antlib chooses them
- based on a single format attribute.
+ the format affects two areas, files bigger than 8 GiB or that need
+ other numeric values not fitting into the traditional tar headers
+ and entries with names longer than 100 characters. For Commons
+ Compress these areas can be configured separately while the Antlib
+ chooses them based on a single format attribute.
Format Attribute |
- Files bigger 8GiB |
- Entry Names longer 100 characters |
+ Numeric values too big like files bigger 8GiB |
+ Entry names longer 100 characters |
Notes |
Modified: ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java?rev=1299152&r1=1299151&r2=1299152&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java (original)
+++ ant/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Tar.java Sat Mar 10 06:46:27 2012
@@ -50,15 +50,18 @@ public class Tar extends ArchiveBase {
}
else if (format.equals(Format.GNU)) {
o.setLongFileMode(TarArchiveOutputStream.LONGFILE_GNU);
- o.setBigFileMode(TarArchiveOutputStream.BIGFILE_STAR);
+ o.setBigNumberMode(TarArchiveOutputStream
+ .BIGNUMBER_STAR);
}
else if (format.equals(Format.STAR)) {
o.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX);
- o.setBigFileMode(TarArchiveOutputStream.BIGFILE_STAR);
+ o.setBigNumberMode(TarArchiveOutputStream
+ .BIGNUMBER_STAR);
}
else if (format.equals(Format.PAX)) {
o.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX);
- o.setBigFileMode(TarArchiveOutputStream.BIGFILE_POSIX);
+ o.setBigNumberMode(TarArchiveOutputStream
+ .BIGNUMBER_POSIX);
}
return o;
}