Project works nicely but hit a couple of minor hicups.
1) Javascript syntax doesn't compress
if ( cond ) ;
else statement;
The empty statement compesses poorly and you end up with syntax errors.
2) Build needs java 5 because of Boolean.booleanValue(...). This can be replaced with "true".equalsIgnoreCase(...) per java 5 documentation. Also since it is built with java 5, websphere 5 projects can't use directly and must build from source with the above chage. If possible you should build the jar with java 1.4.
I have built with java 1.3 by using ant's StringUtils instead of String.replaceAll construct, Not many still have a need for java 1.3 compatibility so this is not very important.
We received a nice performance boost on our project from this code. Nicest feature is the design of the ant interface which gives full control over which files are compressed but also the capability of doing blocks of files.
Thanks again.
Edgar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Project works nicely but hit a couple of minor hicups.
1) Javascript syntax doesn't compress
if ( cond ) ;
else statement;
The empty statement compesses poorly and you end up with syntax errors.
2) Build needs java 5 because of Boolean.booleanValue(...). This can be replaced with "true".equalsIgnoreCase(...) per java 5 documentation. Also since it is built with java 5, websphere 5 projects can't use directly and must build from source with the above chage. If possible you should build the jar with java 1.4.
I have built with java 1.3 by using ant's StringUtils instead of String.replaceAll construct, Not many still have a need for java 1.3 compatibility so this is not very important.
We received a nice performance boost on our project from this code. Nicest feature is the design of the ant interface which gives full control over which files are compressed but also the capability of doing blocks of files.
Thanks again.
Edgar