Hans, On Wed, 2010-01-20 at 14:07 +0100, Hans Dockter wrote: > Hi Russel, > > On Mon, Jan 18, 2010 at 6:32 PM, Russel Winder
> [ . . . ]
>
> I think the wrapper code needs extending so as to assume the
> zip
> download fails as often as it succeeds. Failure should be
> notified to
> the user and that person asked whether a retry should be
> undertaken, or
> everything abandoned. I think this should be 5 mins work
> but . . .
>
> That is a good point. Gradle should behave gracefully and be
> informative. Although usually it is a rare issue that the download
> does not work.
>
The download has never failed for me personally, so I hadn't thought
about the issue previously. I was surprised it happened at all for my
colleague as well, but it did . . . :-(
I don't think the problem was anything actually to do with Gradle, it is
just that Gradle didn't handle the failure gracefully. Almost certainly
I think because none of us had suffered it!
I am fairly sure that all that needs to be done is to wrap the zip open
in a try block and then do something reasonable on failure. I think the
trick is to have a test for this situation. I guess mocking will be in
order to achieve it?
>
> Another comment is that 21MB is a huge amount to have to
> download -- is
> there any way of making the required distribution smaller?
>
> This will come after 0.9 and before 1.0.
>
OK.
Thanks.
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: [email protected]
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected]
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
signature.asc
Description: This is a digitally signed message part
