I filed an enhancement request for the feature: Export PMD Default Configuration Ruleset. Until it is added as a feature, here is how to pass your selected ruleset along.
The file that contains the rules which I am using is called pmd.properties. The file is located in a couple of different places depending on if you are using Windows, or Mac OS X.
On Mac OS X it is located:
/Users/{USER_HOME}/Library/Application Support/NetBeans/7.2.1/config/PreferencesOn Windows it is located:
C:\Users\{YOUR_USER_DIRECTORY}\AppData\Roaming\NetBeans\7.2\config\PreferencesI hope that helps if you need to share your rules.
0 comments :
Post a Comment