Search Criteria
Package Details: htmlcompressor 1.5.3-3
Git Clone URL: | https://aur.archlinux.org/htmlcompressor.git (read-only) |
---|---|
Package Base: | htmlcompressor |
Description: | HTML compressor and minifier. |
Upstream URL: | http://code.google.com/p/htmlcompressor/ |
Licenses: | |
Submitter: | pshevtsov |
Maintainer: | metalgamer |
Last Packager: | metalgamer |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2011-05-08 07:18 |
Last Updated: | 2016-12-04 13:41 |
Dependencies (3)
- java-runtime (server-jre, jdk5, jdk9-openj9-bin, tuxjdk, jre7-openjdk-infinality, java-8-openjdk-shenandoah, jre8-openjdk-infinality, java-gcj-compat, jdk10-openjdk-openj9-bin, jdk9, jre9, jdk-devel, jdk10, jre10, jdk-dcevm, jdk8-arm, jdk8-arm64, jre8-openjdk-shenandoah, jre8-openjdk-jetbrains, jdk6, jdk-arm, jdk12-openj9-bin, zulu-12-bin, jetbrains-jre, jetbrains-jre8, java-openjdk-bin, jdk13-openj9-bin, java-openjdk-ea-bin, jre8, jdk8, jre11, jdk8-openj9-bin, jdk7, jre7, jdk11-adoptopenjdk, zulu-embedded-jdk11, jre, jre6, jdk-openj9-bin, jdk-adoptopenjdk, zulu-11-bin, jre12, amazon-corretto-8, amazon-corretto-11, jdk11-openj9-bin, jdk8-jetbrains, jdk8-graalvm-bin, jdk7r1-j9-bin, jdk7-j9-bin, jdk8-j9-bin, jdk-jetbrains, jdk11-graalvm-bin, jre-openjdk, jre10-openjdk, jre11-openjdk, jre7-openjdk, jre8-openjdk)
- closure-compiler (optional) – inline javascript compression
- yuicompressor (optional) – inline css and javascript compression
Latest Comments
ecognito commented on 2018-01-01 06:48
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
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
@Manouchehri seems to be an upstream issue https://github.com/marconilanna/htmlcompressor/issues/93
Manouchehri commented on 2015-09-02 19:52
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
solstice commented on 2012-04-24 09:16
yuicompressor is an optdepend. closure-compiler as well