<target name="web.pmd">
<taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
<classpath>
<fileset dir="${support.tools}/pmd121" includes="**/*.jar"/>
</classpath>
</taskdef>
<mkdir dir="${target.web}/pmd"/>
<pmd rulesetfiles="${basedir}/${support.tools}/pmd121/ruleset.xml"
shortFilenames="true">
<formatter type="html" toFile="${target.web}/pmd/index.html"/>
<fileset dir="${source.java}/main" includes="**/*.java"/>
</pmd>
</target>