Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82965 invoked from network); 1 Feb 2006 17:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 17:45:56 -0000 Received: (qmail 92258 invoked by uid 500); 1 Feb 2006 17:45:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 92125 invoked by uid 500); 1 Feb 2006 17:45:49 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 92114 invoked by uid 99); 1 Feb 2006 17:45:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 09:45:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [144.140.82.155] (HELO omta03ps.mx.bigpond.com) (144.140.82.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 09:45:47 -0800 Received: from julia ([138.217.193.235]) by omta03ps.mx.bigpond.com with ESMTP id <20060201174524.EROY15112.omta03ps.mx.bigpond.com@julia> for ; Wed, 1 Feb 2006 17:45:24 +0000 From: "Stephen McConnell" To: "'Ant Users List'" Subject: RE: Copy-Task Date: Thu, 2 Feb 2006 04:15:15 +1030 Message-ID: <000301c62757$42d37470$0201a8c0@julia> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <43E0D9C0.70902@apache.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYnSZmdKoaUtJSUS4OYmtrH9uMVeAADW9LQ X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Steve Loughran [mailto:stevel@apache.org] > Sent: Thursday, 2 February 2006 2:25 AM > To: Ant Users List > Subject: Re: Copy-Task > > Stephen McConnell wrote: > > > > > >> -----Original Message----- > >> From: Steve Loughran [mailto:stevel@apache.org] > > > >> -you can use the selector to do byte for byte > comparisons > >> of files. But that pulls all the remote data down and can clog a > >> network > > > > Would an MD5 comparison be sufficient? > > you probably don't even need a hash that strong. But you do > need to cache the hash somewhere, because if you have to > calculate it on demand, then you have just done the data copy > that you wanted to avoid... I'm assuming that there is a MD5 on the server (or at least an MD5 could be placed on the server with the artifact) and that you would download the MD5 and compare that with a locally generated MD5 (avoiding any artifact download). /Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org