Closed GoogleCodeExporter closed 9 years ago
Fixed in 0.9.3.
It always wanted YUI compressor jar to be present in the same library. Now it
is rolled back to how it was before - yui compressor is needed only during
javascript compression.
Thanks.
Original comment by serg472@gmail.com
on 3 Sep 2010 at 5:12
Agreed, then you should add a requirement notice in your project page,
otherwise there is no way for people to know this, in fact I was thinking that
the missing lib was Rhino.
Thanks.
Original comment by dario...@gmail.com
on 3 Sep 2010 at 11:50
It says that YUI lib is required when js or css compression is enabled (on the
front page and in a command line help screen).
But I am reopening this bug and will add better error handling in the next
version so when YUI lib is required it would say so instead of throwing an
exception.
Thanks.
Original comment by serg472@gmail.com
on 3 Sep 2010 at 3:23
Thank you
Original comment by dario...@gmail.com
on 3 Sep 2010 at 3:26
Sorry if I continue to send msgs, but I tried starting htmlcompressor with:
java -classpath pathtoyui/yuicompressor.jar -jar htmlcompressor.jar
and I still get the same error. How do I use it from command line??
Original comment by dario...@gmail.com
on 3 Sep 2010 at 3:45
You don't need to set classpath, just put yui jar into the same folder as
htmlcompressor.jar. Also it needs exact filename for yui jar, don't rename the
file (if you download big archive with full compressor sources it has yui jar
in it already which you can use).
This error should be gone if you use 0.9.3 version (unless you enable js or css
compression, this would require yui jar)
Original comment by serg472@gmail.com
on 3 Sep 2010 at 4:53
0.9.4 has more clear message if YUI jar is missing.
Original comment by serg472@gmail.com
on 13 Nov 2010 at 7:23
Original issue reported on code.google.com by
dario...@gmail.com
on 2 Sep 2010 at 4:20