Added JDK 1.4 processing. Must set jdk14.src property to use.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@304 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Dixon-Peugh
2002-07-11 20:08:09 +00:00
parent 7b37019fd6
commit 1a07d93ff5

View File

@ -80,7 +80,7 @@ will update documents on the Build Site.
</target>
<!-- Documentation Chores -->
<target name="pre-docs" depends="rule-docs,run-pmd,pmd-docs" />
<target name="pre-docs" depends="rule-docs,run-pmd,run-jdk,pmd-docs" />
<target name="post-docs" depends="move-php" />
<target name="rule-docs" depends="load-tasks">
@ -132,6 +132,21 @@ will update documents on the Build Site.
</pmd>
</target>
<target name="run-jdk"
depends="load-tasks"
if="jdk14.src">
<mkdir dir="${maven.pmd.reportsDirectory}" />
<pmd reportFile="${maven.pmd.reportsDirectory}/jdk-1.4.xml"
verbose="false"
rulesetfiles="rulesets/basic.xml"
format="xml"
failonerror="no">
<fileset dir="${jdk14.src}">
<include name="**/*.java" />
</fileset>
</pmd>
</target>
<target name="pmd-docs" depends="load-tasks">
<mkdir dir="${maven.gen.docs}/demo" />
<dvsl basedir="${maven.pmd.reportsDirectory}"