title: How to configure phpMD plugin in NetBeans 6.9 (Ubuntu)
body: <p>I've written a custom XML ruleset, so I run phpmd with the following command:</p>
  
  <pre><code>phpmd /path/to/my/file.module xml ruleset.xml
  </code></pre>
  
  <p>Now I've downloaded and installed the phpmd/CodeSniffer plugin for netbeans (<a href="http://sourceforge.net/projects/phpmdnb/files/" rel="nofollow">http://sourceforge.net/projects/phpmdnb/files/</a>), but I can't find the way to configure it properly.</p>
  
  <p>Going to Tools -> Options -> PHP, I find the phpMD tab, in which I can change settings.</p>
  
  <p>No idea what to put in each field.</p>
  
  <p>If I put the binary in the field "phpMD batch file:", netbeans throws the error "The file /usr/bin/phpmd isn't the right phpMD batch".</p>
  
  <p>Has anyone successfully installed this interesting plugin?</p>