Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while expanding: archive is not a ZIP archive #38

Open
sugoidogo opened this issue Feb 4, 2020 · 1 comment
Open

Error while expanding: archive is not a ZIP archive #38

sugoidogo opened this issue Feb 4, 2020 · 1 comment

Comments

@sugoidogo
Copy link

Looks like the redirect for the ikvm url is not being handled.

PS X:\adbi> gradle -version

------------------------------------------------------------
Gradle 6.0.1
------------------------------------------------------------

Build time:   2019-11-18 20:25:01 UTC
Revision:     fad121066a68c4701acd362daf4287a7c309a0f5

Kotlin:       1.3.50
Groovy:       2.5.8
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          1.8.0_232 (Oracle Corporation 25.232-b07-jvmci-19.3-b05)
OS:           Windows 10 10.0 amd64
PS X:\adbi> java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-20191009144847.buildslave.jdk8u-src-tar--b07)
OpenJDK 64-Bit GraalVM CE 19.3.0 (build 25.232-b07-jvmci-19.3-b05, mixed mode)
PS X:\adbi> gradle ikvm
> Task :ikvm FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ikvm'.
> Error while expanding C:\Users\Josef\.gradle\ikvm\1cbb399264d8a680aad6b7586e8dac37235ed746.zip
  java.util.zip.ZipException: archive is not a ZIP archive

C:\Users\Josef\.gradle\ikvm\1cbb399264d8a680aad6b7586e8dac37235ed746.zip:

<html>
 <head>
  <title>302 Found</title>
 </head>
 <body>
  <h1>302 Found</h1>
  The resource was found at <a href="https://ayera.dl.sourceforge.net/project/ikvm/ikvm/7.2.4630.5/ikvmbin-7.2.4630.5.zip">https://ayera.dl.sourceforge.net/project/ikvm/ikvm/7.2.4630.5/ikvmbin-7.2.4630.5.zip</a>;
you should be redirected automatically.


 </body>
</html>
@ngyukman
Copy link
Contributor

ngyukman commented Feb 8, 2020

it is using the default fetch from URL currently, which doesn't support follow redirects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants