资 源 简 介
JSMin Ant Task
A custom task for Apache Ant which acts as an interface to the JSMin program.
About JSMin
"JSMin is a filter which removes comments and unnecessary whitespace from javascript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation."
Excerpt from Douglas Crockford"s JSMin page
Description
The JSMin Ant task acts as an interface to the JSMin Java class. The task can be used for the automated minification of javascript files in your build and deploy processes.
Specify destination directory option.
Suffix minified files option.
Support for nested filesets
Tested with Apache Ant 6.5+. Please let us know if the task works with e