My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

reference : http://code.google.com/p/jslint4java/

Usage 1:

<taskdef name="jslint" classname="net.happygiraffe.jslint.ant.JSLintTask" classpathref="project.classpath">
</taskdef>

<jslint dir="${web.dir}">
</jslint>

This will generate output at the console Usage 2:

<taskdef name="jslint" classname="net.happygiraffe.jslint.ant.JSLintTask" classpathref="project.classpath">
</taskdef>

<jslint dir="${web.dir}">
<formatter type="xml" tofile="./report.xml">

Unknown end tag for </jslint>

This will generate output at specified file in specified format

Powered by Google Project Hosting