AntFit Getting Started

A fit task for Ant

  1. Copy antfit.jar to your $ANT_HOME/lib directory.
  2. Add a taskdef to your build.xml:
    <taskdef name="fit" classname="com.cmdev.fit.ant.FitTask">
  3. Add a target and call the fit task.
            <target name="runfit" depends="compile">
                <fit destdir="${fit.results.dir}">
                    <fileset dir="${fit.in.dir}">
                        <include name="*.html"/>
                    </fileset>
                </fit>
    	</target>
        
  4. Examine the results files in ${fit.results.dir}