compiler.jar size is 40% larger, includes copy of Apache Ant
See original GitHub issueAccording to the message at [1], future versions of Closure Compiler binaries will no longer distributed from https://dl.google.com/closure-compiler/ URLs. When comparing the last published version in that endpoint at [2], with the one from NPM there is a substantial 8.3MB->12MB (40%) increase in the compiler.jar size.
Compare with the following commands:
wget https://dl.google.com/closure-compiler/compiler-20200719.tar.gz
tar xvfz compiler-20200719.tar.gz
ls -lah closure-compiler-v20200719.jar # 8.3MB
whereas the NPM version
npm install --no-bin-links --only=prod google-closure-compiler
ls -lah node_modules/google-closure-compiler-java/compiler.jar # 12MB
Is this increase expected?
[1] https://github.com/google/closure-compiler/wiki/Binary-Downloads [2] https://dl.google.com/closure-compiler/compiler-20200719.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
External Tools and Tasks - Apache Ant
This page lists external resources for Apache Ant: Tasks, Compiler Implementations, IDE integration tools, Source Control Systems, Loggers, ...
Read more >Ant is using wrong java version - Stack Overflow
Just had this issue, it happened because I'd first added the build file to the ant-view when the default JRE was 1.6. There...
Read more >Apache Ant - the Java Workshop
In order to use Apache Ant you will need to understand a little about XML ... You cannot build a jar without first...
Read more >Apache Ant - Mustafa Adel Elnagar - Google Sites
Apache Ant is a software tool for automating software build processes. ... The jar target lists the compile target as a dependency. This...
Read more >O'Reilly Ant The Definitive Guide.pdf - gvSIG Association
a JAR file and copy some other files around to make a distributable version ... Compilation of all Java™ source files is no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for looking, that does seem wrong. We’ll leave this bug open, but we are pretty stretched for resources, so it’s at the end of a long list of other bugs (that we’d also like to fix someday…).
Congratulations, now we have renamed (shaded) the Ant files in the output so you won’t see why the jar file size is growing into infinity due to dependency hell. Rules out some further creative closure compiler use-cases. Or did I miss something? 😉