forked from phoedos/pmd
merged from NB_3_4_COMPATIBLE branch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1857 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user