diff --git a/pmd/xdocs/howtowritearule.xml b/pmd/xdocs/howtowritearule.xml index b8908de3d7..667a2c459c 100644 --- a/pmd/xdocs/howtowritearule.xml +++ b/pmd/xdocs/howtowritearule.xml @@ -90,7 +90,7 @@ CompilationUnit
  • Put the example file in the pmd/test-data directory in a file called "Example.java"
  • Edit the class net.sourceforge.pmd.PMD and uncomment the line that says c.dump();
  • Open a command prompt and cd into the pmd/etc directory
  • -
  • Recompile the project using the Ant task; i.e., ant compile
  • +
  • Recompile the project using the Ant task; i.e., ant compile
  • Run the go batch file to run PMD on one file, like this: go Example xml rulesets/basic.xml. The go.bat file will fill in the directories and main class and whatnot. You'll probably have to edit this batch file to match where you unzipped PMD.