On 6/14/07, Maarten Coene <[EMAIL PROTECTED]> wrote:

Is it normal that this checksum is NOT stored in my ivy cache?


Interesting. According to the code this is normal (see
BasicResolver#check(Resource resource, File dest, String algorithm)). Since
the check is only done when downloading the main file, there is no strong
need to cache the checksum. Except to use the cache as a basis for a
repository, or for later checks (on a retrieve for instance). So it may be a
good idea to cache the checksum used.

I think it's a good idea to log what we are downloading. But we should also
provide an option to disable this kind of logging...


Indeed. We have 3 different kind of downloads: module descriptors, artifacts
and checksums. Maybe we could have a property for each, telling if we should
log or not each kind of download (and defaulting to true for all).

WDYT?

Xavier

Maarten

----- Original Message ----
From: Xavier Hanin <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, June 14, 2007 10:03:05 AM
Subject: Re: 2 downloads ?



It's the checksum (md5 or sha1). Maybe we could add a log to tell what is
downloaded, it would help people understand. In the same order of idea, I
think we could log when we are downloading the module descriptor, because
sometimes downloading a module descriptor takes time or lead to a
connection
timeout. WDYT?

Xavier

Maarten
>
>
>
>
>
>
____________________________________________________________________________________
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
> http://autos.yahoo.com/green_center/
>



--
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/







____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/




--
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/

Reply via email to