No luck with building kotlin on mac os/linux


#1

Hi all,

I’m stumbled with ant -f update_dependencies.xml - it always end with an error:

BUILD FAILED
/home/alex/proj/free/kotlin/update_dependencies.xml:8: The following error occurred while executing this line:
/home/alex/proj/free/kotlin/update_dependencies.xml:211: Error while expanding /home/alex/proj/free/kotlin/dependencies/download/ideaIC-123.SNAPSHOT.win.zip
java.util.zip.ZipException: archive is not a ZIP archive
  at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:472)
  at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:313)

I tried to build kotlin a few minutes ago and about a month ago - the same error occur.
I believe there is some issue with an anonymous access to your teamcity build.

Any help is greatly appreciated.


#2

This may happen if your previous downloads of dependencies hadn't finished successfully. Please try deleting dependencies/ directory


#3

Oh, yes it does the trick. Thank you!