Export to GitHub

htmlcompressor - issue #4

Command line version?


Posted on Nov 4, 2009 by Happy Bird

Is there a version I can run from the command line, instead of from Java code?

Comment #1

Posted on Nov 7, 2009 by Grumpy Hippo

Currently no. What are you trying to achieve? There are lots of standalone html compressor applications out there that don't require java, some are command line only probably.

Comment #2

Posted on Nov 10, 2009 by Happy Bird

+1 for this - we currently plug yuicompressor into our NAnt build scripts, it'd be great to do the same for this!

Comment #3

Posted on Nov 10, 2009 by Grumpy Hippo

Ok, I will make it run as Ant task similar to yuicompressor.

Comment #4

Posted on Nov 10, 2009 by Happy Bird

Ah yes, I was thinking of using it like I use YUI Compressor.

With YUI Compressor, I download their jar file, and call it from the command line like this:

java -jar yuicompressor-2.4.2.jar

I was wondering if I could do the same with htmlcompressor.

Comment #5

Posted on Nov 12, 2009 by Grumpy Hippo

Added in 0.8 version. See the front page for some examples.

Thanks for the idea :)

Comment #6

Posted on Nov 12, 2009 by Happy Bird

Fantastic, that’s the stuff. Much appreciated there Serj. May the gods smile down upon you and your womenfolk.

Comment #7

Posted on Nov 12, 2009 by Happy Bird

Great stuff - cheers!

Status: Fixed

Labels:
Type-Enhancement Priority-Medium