diff --git a/pmd/xdocs/navigation.xml b/pmd/xdocs/navigation.xml index 63e54c4d68..16ee12ecc6 100644 --- a/pmd/xdocs/navigation.xml +++ b/pmd/xdocs/navigation.xml @@ -14,6 +14,7 @@ + diff --git a/pmd/xdocs/running.xml b/pmd/xdocs/running.xml new file mode 100644 index 0000000000..ce5a6c728c --- /dev/null +++ b/pmd/xdocs/running.xml @@ -0,0 +1,36 @@ + + + + + Tom Copeland + Running PMD + + + +
+
    +
  • Build PMD by going to the etc directory and typing 'ant clean' +
  • Type run 'filename', i.e.: +
    +C:\data\pmd\pmd\etc>run c:\data\pmd\pmd\test-data\Unused1.java
    +C:\data\pmd\pmd\etc>set CLASSPATH=../build/
    +C:\data\pmd\pmd\etc>java net.sourceforge.pmd.PMD c:\data\pmd\pmd\test-data\Unuse
    +d1.java
    +
    +c:\data\pmd\pmd\test-data\Unused1.java5
    +Found unused local variable 'fr'
    +
    +    
    +
+
+
+
    +
  • Build PMD by going to the etc directory and typing 'ant clean' +
  • Add a new Ant target to your build file - here's an example. +
  • Make sure the PMD class files are on your classpath. +
  • Run Ant like you normally do. +
+
+ +