Package Details: htmlcompressor 1.5.3-3

Git Clone URL: (read-only, click to copy)
Package Base: htmlcompressor
Description: HTML compressor and minifier.
Upstream URL:
Licenses: Apache
Submitter: pshevtsov
Maintainer: None
Last Packager: metalgamer
Votes: 8
Popularity: 0.000000
First Submitted: 2011-05-08 07:18 (UTC)
Last Updated: 2016-12-04 13:41 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

ecognito commented on 2018-01-01 06:48 (UTC)

FYI, it looks like you specifically need version 1180 of the closure compiler to use with htmlcompressor.

I downloaded the htmlcompressor source[1] which included a copy of that version of the compiler.jar file. I replaced the /usr/share/java/htmlcompressor/compiler.jar link with that file and then it worked.

eimis commented on 2016-12-24 23:25 (UTC)

please add noextract=("${pkgname}-${pkgver}.jar") to PKGBUILD because makepkg invokes bsdtar which fails to extract the jar and package is not getting built. Thank you - this is a great tool.

metalgamer commented on 2015-09-03 20:56 (UTC)

@Manouchehri seems to be an upstream issue

Manouchehri commented on 2015-09-02 19:52 (UTC)

Not entirely sure what's wrong, but htmlcompressor can't use closure. I might just be going blind, but the soft links look correct to me. ~ > readlink -f /usr/share/java/htmlcompressor/* /usr/share/java/closure-compiler/closure-compiler.jar /usr/share/java/htmlcompressor/htmlcompressor.jar /usr/share/java/yuicompressor-2.4.8.jar ~ > for x in $(readlink -f /usr/share/java/htmlcompressor/*); do file "$x"; done /usr/share/java/closure-compiler/closure-compiler.jar: Java archive data (JAR) /usr/share/java/htmlcompressor/htmlcompressor.jar: Zip archive data, at least v1.0 to extract /usr/share/java/yuicompressor-2.4.8.jar: Java archive data (JAR) ~ > htmlcompressor --compress-js --js-compressor yui /dev/null ~ > htmlcompressor --compress-js --js-compressor closure /dev/null ERROR: For JavaScript compression using Google Closure Compiler additional jar file called compiler.jar must be present in the same directory as HtmlCompressor jar

solsticedhiver commented on 2012-04-24 09:16 (UTC)

yuicompressor is an optdepend. closure-compiler as well