Good day -
I need to be able to debug into an instance of gradle-1.3
with IntellIJ Idea, but, after downloading the sources
from
https://downloads.gradle.org/distributions/gradle-1.3-src.zip
and unpacking them,
and downloading and installing the gradle-1.3 binary distribution
from
https://downloads.gradle.org/distributions/gradle-1.3-src.zip ,
and ensuring the unpacked gradle-1.3/bin is in my $PATH,
there appears to be no way of preventing gradlew trying to download:
http://services.gradle.org/distributions-snapshots/..
gradle-1.3-20121109123943+0000-bin.zip
which does not exist.
Idea will not load the gradle-1.3 source project because of this
problem either. So there appears to be no way of debugging into
gradle-1.3, which I must do for a work related project .
$ ./gradlew --help
Downloading
http://services.gradle.org/distributions-snapshots/gradle-1.3-20121109123943+0000-bin.zip
Exception in thread "main" java.io.FileNotFoundException:
http://downloads.gradle.org/distributions-snapshots/gradle-1.3-20121109123943+0000-bin.zip
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1457)
at org.gradle.wrapper.Download.downloadInternal
(Download.java:63)
at org.gradle.wrapper.Download.download
(Download.java:49)
at org.gradle.wrapper.Install.createDist
(Install.java:51)
at org.gradle.wrapper.WrapperExecutor.execute
(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main
(GradleWrapperMain.java:48)
Adding --offline to the gradlew command line does not help either .
Could anyone suggest a way either of preventing gradlew downloading
gradle-1.3-20121109123943+0000-bin.zip or of bypassing this step
and loading gradle 1.3 into a debugger where the sources can be
picked up ?
Thanks in advance for any replies,
Regards, Jason