+ <style style="${build.dir}/checkstyle-simple.xsl"
+ in="${module.checkstyle.dir}/${checkstyle.report}.xml"
+ out="${module.checkstyle.dir}/${checkstyle.report}.html"/>
+ <echo>Results are available at ${module.checkstyle.dir}/${checkstyle.report}.html</echo>
+</target>
+
+<target name="checkstyle" depends="testclasses">
+ <mkdir dir="${module.checkstyle.dir}"/>
+ <antcall target="checkstyle-impl">
+ <param name="checkstyle.classpath" refid="module.build.path"/>
+ <param name="checkstyle.srcdir" value="${module.source.dir}"/>
+ <param name="checkstyle.report" value="source-results"/>
+ </antcall>
+ <antcall target="checkstyle-impl">
+ <param name="checkstyle.classpath" refid="module.testbuild.path"/>
+ <param name="checkstyle.srcdir" value="${module.test.dir}"/>
+ <param name="checkstyle.report" value="test-results"/>
+ </antcall>