Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 4668 invoked from network); 1 Aug 2009 14:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Aug 2009 14:14:48 -0000 Received: (qmail 13334 invoked by uid 500); 1 Aug 2009 14:14:51 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 13199 invoked by uid 500); 1 Aug 2009 14:14:51 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 13186 invoked by uid 99); 1 Aug 2009 14:14:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 14:14:51 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [88.84.142.181] (HELO samaflost.de) (88.84.142.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 14:14:41 +0000 Received: from localhost (unknown [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 4B14CE220014 for ; Sat, 1 Aug 2009 14:14:21 +0000 (UTC) Received: from samaflost.de ([127.0.0.1]) by localhost (v30161.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13400-07 for ; Sat, 1 Aug 2009 16:14:19 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 2525) id 97634E22000A; Sat, 1 Aug 2009 16:14:19 +0200 (CEST) From: Stefan Bodewig To: dev@commons.apache.org Subject: Re: [compress] ar/cpio and last modfied times References: <4A735A45.6020608@apache.org> X-Draft-From: ("nnfolder:mail.jakarta-lib" 130202) Date: Sat, 01 Aug 2009 16:14:18 +0200 In-Reply-To: <4A735A45.6020608@apache.org> (Emmanuel Bourg's message of "Fri, 31 Jul 2009 22:55:33 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: amavisd-new at samaflost.de X-Virus-Checked: Checked by ClamAV on apache.org On 2009-07-31, Emmanuel Bourg wrote: > Stefan Bodewig a =C3=A9crit : >> I've started to implement a commons-compress based antlib over in Ant >> land >> > Nice! Do you plan to replace the archive/compress tasks in Ant with > the new ones? Not for Ant's core, but as a separate Ant library. This will allow the tasks to be updated on a more frequent basis and they may take advantage if commons-compress releases will be more frequent than Ant releases (which is likely if only because of Ant's slow cycle). And then there is this strong reluctance (which I share) of Ant developers to introduce any external dependencies for core tasks. >> To make things even worse, cpio claims it would be seconds since the >> epoch but sets it with System.currentTimeMillis when unset >> (CpioArchiveOutputStream#putArchiveEntry) which will be milliseconds >> since the epoch - who is correct? > http://people.freebsd.org/~kientzle/libarchive/man/cpio.5.txt > CPIO time is in seconds. That's what the comment in the code say as well, it just doesn't look that way 8-) >> Can anybody more familiar with ar or cpio shed some light on what the >> formats really expect? > I couldn't find a clear specification of the ar format same here=20 > ... but I'm pretty sure the modification time is in seconds > too. That's what I assume as well, I'm just hoping that anybody else would know for sure before I "fix" it. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org