diff --git a/pmd-netbeans/CHANGES.txt b/pmd-netbeans/CHANGES.txt index e707deffa8..763938122a 100644 --- a/pmd-netbeans/CHANGES.txt +++ b/pmd-netbeans/CHANGES.txt @@ -1,3 +1,13 @@ +Version 0.8 +- Updated pmd to version 1.05 +- Made it possible to have realtime scanning of the currently open java file +- Enabled custom rulesets +- Some new status messages +- Fixed bug 706318 Performance Improvement from C. Lamont Gilbert +- Fixed bug 706319 Netbeans plugin uses deprecated method from C. Lamont Gilbert +- Fixed feature request 669810 Support for custom rulesets from Juergen Ebert +- Fixed feature request 687122 Information formatting in Rules Display from C. Lamont Gilbert + Version 0.7 - Updated pmd to version 1.03 - Sorted the ruleselection dialog diff --git a/pmd-netbeans/README.txt b/pmd-netbeans/README.txt index 92c2ce5a28..14ab3cf33a 100644 --- a/pmd-netbeans/README.txt +++ b/pmd-netbeans/README.txt @@ -27,10 +27,13 @@ find your flaws. The tool is also located under the global Tools menu. Double click on the error messages in the output pane to go to the line in the Java source file to correct the problem PMD discovered. ------------------------- -OPTIONS ------------------------- +XXXXXXXXXXXXXXXXXXXXXXXX +X OPTIONS X +XXXXXXXXXXXXXXXXXXXXXXXX +------------------------ +RULES +------------------------ 1) Start NetBeans 2) Goto Tools --> Options 3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings @@ -39,3 +42,29 @@ OPTIONS 6) Select the different rules to see information and examples of the rule 7) Use the <, <<, >, >>, buttons to choose which rules to use. 8) Press OK to save the configuration + +------------------------ +CUSTOM RULESETS +------------------------ +1) Start NetBeans +2) Goto Tools --> Options +3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings +4) Click on the Expert tab +5) Click on "Rulesets" +6) Click "Add RuleSet" to locate the ruleset xml file you want to include +7) Click "Add Rule jar" to locate the jar containing the rules +8) Check "Include PMD standard rules" to include the rules from the pmd distribution +9) Press OK to save the configuration +10) Go to Rules to select the new rules. + +------------------------ +REALTIME SCANNING +------------------------ +1) Start NetBeans +2) Goto Tools --> Options +3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings +4) Click on "Enable scan" +5) Choose true to enable scan, false otherwise. +6) Click on "Scan interval" +7) Enter the number of seconds between each scan +XX) NetBeans requires a restart to disable scanning diff --git a/pmd-netbeans/src/manifest.mf b/pmd-netbeans/src/manifest.mf index da12b0e9b5..694016b50b 100644 --- a/pmd-netbeans/src/manifest.mf +++ b/pmd-netbeans/src/manifest.mf @@ -1,5 +1,5 @@ Manifest-Version: 1.0 -OpenIDE-Module-Specification-Version: 0.71 +OpenIDE-Module-Specification-Version: 0.80 Created-By: Ole-Martin Mørk Class-Path: ext/@pmd.jar@ ext/jaxen-core-1.0-fcs.jar ext/saxpath-1.0-fcs.jar ext/jakarta-oro-2.0.jar OpenIDE-Module: pmd