-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
35 lines (25 loc) · 1.46 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
HtmlCompressor v.${project.version}
http://code.google.com/p/htmlcompressor/
Small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.
PACKAGE CONTENT:
/bin - contains main ${project.artifactId}-${project.version}.jar binary,
as well as several extra jars (could be useful for IDE integration)
/doc - javadocs
/src - sources
/lib - dependencies (for using with a command line compressor or non-Maven projects)
pom.xml - Maven POM file
build.bat - Maven build launcher for Win
build.sh - Maven build launcher for *nix
USAGE:
For java projects add ${project.artifactId}-${project.version}.jar library to your project's classpath
For a command line usage run:
java -jar ${project.artifactId}-${project.version}.jar -h
to get a brief description of available parameters.
Please refer to http://code.google.com/p/htmlcompressor/ for the detailed documentation.
PROJECT BUILD:
- Install JDK v.5+ (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- Install Maven v.2+ (http://maven.apache.org/download.html)
- Run build.bat or build.sh
- Compiled binaries will be placed in /target subdirectory
CHANGELOG:
http://code.google.com/p/htmlcompressor/wiki/Changelog