2002-10-28 22:36:20 +00:00
|
|
|
PMD for netbeans.
|
|
|
|
|
|
|
|
------------------------
|
|
|
|
INSTALL
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
Start netbeans and goto Tools\Update Center and choose
|
|
|
|
"Install Manually Downloaded Modules(.nbm Files). Press Next, Add... and go to
|
|
|
|
the directory where you downloaded pmd-netbeans and choose the file pmd.nbm.
|
|
|
|
Press Next, accept the license and choose to include the pmd module. Press
|
|
|
|
Finish, restart the IDE and you're done :)
|
|
|
|
|
|
|
|
|
|
|
|
------------------------
|
|
|
|
USE
|
|
|
|
------------------------
|
|
|
|
|
2002-11-04 23:14:38 +00:00
|
|
|
Right click on one or more folders or java files, choose tools, PMD and watch the tool
|
2002-10-28 22:36:20 +00:00
|
|
|
find your flawes. The tool is also located under the global tools menu. Double
|
|
|
|
click on the errormessages in the output pane to go to the line in the
|
|
|
|
java-file to correct the problem PMD discovered.
|
|
|
|
|
|
|
|
------------------------
|
|
|
|
OPTIONS
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
Go to Options/IDE Configuration/Server And External Tool Settings/PMD Settings
|
|
|
|
to choose which rulesets to use. Go to the PMD documentation to learn more about
|
|
|
|
rulesets.
|
|
|
|
|
|
|
|
------------------------
|
|
|
|
KNOWN BUGS
|
|
|
|
------------------------
|
2002-11-04 23:14:38 +00:00
|
|
|
633432 - pmd-netbeans can't change settings in Sun ONE Studio 4
|