diff --git a/pmd/xdocs/running.xml b/pmd/xdocs/running.xml index 98f7922751..8a63030e1c 100644 --- a/pmd/xdocs/running.xml +++ b/pmd/xdocs/running.xml @@ -22,17 +22,16 @@ Avoid unused local variables such as 'fr' C:\tmp\pmd-1.03\pmd\etc> -
  • Or, if you want to just run PMD without the batch file, you can do a:
  • +
  • If you are using JDK 1.3 or you just want to run PMD without the batch file, you can do a:
  • -C:\data\pmd\pmd>java -cp lib\pmd-1.03.jar;lib\xercesImpl-2.0.2.jar;lib\xmlParser -APIs-2.0.2.jar net.sourceforge.pmd.PMD c:\j2sdk1.4.1_01\src\java\lang xml rulese -ts/imports.xml > report.xml - -C:\data\pmd\pmd> +C:\data\pmd\pmd>java -cp lib\pmd-1.03.jar;lib\xercesImpl-2.0.2.jar;lib\xmlParserAPIs-2.0.2.jar + net.sourceforge.pmd.PMD + c:\j2sdk1.4.1_01\src\java\lang xml + rulesets/imports.xml

  • Notice that in this case the output is in XML, so you can redirect it to a file and XSLT it or whatever
  • - +