ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@dpml.net>
Subject RE: Copy-Task
Date Wed, 01 Feb 2006 17:45:15 GMT
 

> -----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 <different> 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


Mime
View raw message