[GRADLE-289] download wrapper zip to temporary file first Created: 30/Oct/08 Updated: 04/Jan/13 Resolved: 31/Oct/08 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.4 |
Fix Version/s: | 0.5 |
Type: | Improvement | ||
Reporter: | Johannes Zillmann | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Attachments: | downloadToTmpFileFirst.patch |
Description |
I faced the situation now more then 2 times that i canceled the first execution of the wrapper script and so the download of the wrapper dist. Unzipping /Users/jz/.gradle/wrapper/dists/gradle-0.5-081029161231+0100-bin.zip to /Users/jz/.gradle/wrapper/dists Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.zip.ZipFile.<init>(ZipFile.java:234) at org.gradle.wrapper.Install.unzip(Install.java:94) at org.gradle.wrapper.Install.createDist(Install.java:63) at org.gradle.wrapper.Wrapper.execute(Wrapper.java:48) at org.gradle.wrapper.WrapperMain.main(WrapperMain.java:38) I attached a patch which downloads the zip to a .part file first which should solve the problem. |