Export to GitHub

htmlcompressor - issue #93

Google Closure Compiler compiler.jar not found even though present


Posted on Apr 16, 2014 by Quick Lion

Since the YUI compressor has problems with certain keywords in my JS code and I cannot change those keywords, I wanted to switch to the Google Closure Compiler for JS compression. However, I get the following error message when using htmlcompressor from a command line:

ERROR: For JavaScript compression using Google Closure Compiler additional jar file called compiler.jar must be present in the same directory as HtmlCompressor jar

The compiler.jar is present in the same directory as the htmlcompressor-*.jar, so I don't know how to solve this issue. I am using Windows 7 along with Java 7.

Status: New

Labels:
Type-Defect Priority-Medium