Groovy-api artifact truncated in JetBrains repository?


#1

Hi,

I’m trying to build Kotlin from scratch (as per the github instructions).

It’s failing as the groovy-api artifact seems to be truncated: http://repository.jetbrains.com/utils/org/jetbrains/kotlin/gradle-api/1.6/gradle-api-1.6.jar

[ERROR] Failed to execute goal on project kotlin-gradle-plugin-core: Could not resolve dependencies for project org.jetbrains.kotlin:kotlin-gradle-plugin-core:jar:0.1-SNAPSHOT: Could not transfer artifact org.jetbrains.kotlin:gradle-api:jar:1.6 from/to jetbrains-utils (http://repository.jetbrains.com/utils): GET request of: org/jetbrains/kotlin/gradle-api/1.6/gradle-api-1.6.jar from jetbrains-utils failed: Premature end of Content-Length delimited message body (expected: 40284696; received: 31971810 -> [Help 1]


I get the same issue trying to download it directly.
$ jar tf gradle-api-1.6.jar 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:128) at java.util.zip.ZipFile.<init>(ZipFile.java:89) at sun.tools.jar.Main.list(Main.java:977) at sun.tools.jar.Main.run(Main.java:222) at sun.tools.jar.Main.main(Main.java:1147)

Any ideas?

Cheers,
Andrew


#2

Could you try it again? It seems that we had some problems with repository yesterday.


#3

Hi,

Thanks for looking into it.

It seems the problem is my end - it works fine from a server in the US but still fails over my local (slow) connection.

I’ll scp it across from the US server and move on.

Thanks again,

Cheers,
Andrew