404 error while downloading latest compiler https://dl.google.com/closure-compiler/compiler-latest.tar.gz

150 views
Skip to first unread message

Phanindra Alamuri

unread,
Aug 18, 2020, 10:31:43 AM8/18/20
to Closure Compiler Discuss
Getting 404 error for the following URL-

Not able to download the latest compiler-latest file. We are using broccoli-closure-compiler
which tries to download from the above URL and is failing to install the package.

Bradford Smith

unread,
Aug 18, 2020, 10:43:42 AM8/18/20
to Closure Compiler Discuss
The metrics we have show that downloads of the pre-compiled files from dl.google.com are very near zero each month.
It seems that nearly everyone uses Maven or NPM to install closure-compiler.

We're trying to streamline our external release process with the ultimate goal of being able to release more frequently.
Since no one (for a small but apparently non-zero value of "no one") seemed to use these links, and uploading to them is more tedious than you would expect, we decided to drop them from our process.

We updated the binary download page to reflect this, but failed to make an announcement.


Sorry about that.

If fetching the compiler via Maven or NPM doesn't work for you, the alternative is to build from source.


Bradford

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/a62dd2cd-f0dd-4f7c-9d74-e0237d2f5412o%40googlegroups.com.

Alec Smecher

unread,
Aug 19, 2020, 6:36:08 PM8/19/20
to Closure Compiler Discuss
Hi all,

Thanks, Bradford, that's helpful -- we were using the download link but will move to npm instead.

Just a note that the "Getting Started" documentation for the Closure compiler (https://developers.google.com/closure/compiler/docs/gettingstarted_app) still specifies the old download URL.

Regards,
Alec

Jackie Han

unread,
Aug 20, 2020, 5:19:47 AM8/20/20
to Closure Compiler Discuss
So if we still want to download a single jar file and don't want to build from source, we can download it from https://mvnrepository.com/artifact/com.google.javascript/closure-compiler

chad.kill...@banno.com

unread,
Aug 20, 2020, 9:41:51 AM8/20/20
to Closure Compiler Discuss
Also, the npm package google-closure-compiler-java is pretty much only the jar files.

Bradford Smith

unread,
Aug 20, 2020, 5:18:31 PM8/20/20
to Closure Compiler Discuss
A helpful user created an issue to follow / fix here.


I'm consolidating the info I have from various threads into that issue.

Reply all
Reply to author
Forward
0 new messages