As I work on Checkstyle recently I though that adding PMD to the build.xml should be a nice idea. Here is a patch to add the proper Ant code plus the ruleset (a basic copy of PMD own file : dogfood.xml). Note that in order to have PMD working you have to add manually the following jar files to the lib/pmd directory (created by the patch):
(you can get the jar directory for PMD: http://pmd.svn.sourceforge.net/viewvc/pmd/trunk/pmd/lib/)
Log in to post a comment.