Updated for upcoming 0.5 release.
Phil, feel free to add anything I might have missed. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1560 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
|
===================================================================
|
||||||
|
To Install:
|
||||||
|
===================================================================
|
||||||
If you are using the binary, just unzip the Zip file
|
If you are using the binary, just unzip the Zip file
|
||||||
in $ECLIPSE_HOME/plugins.
|
in $ECLIPSE_HOME/plugins.
|
||||||
|
|
||||||
@ -10,15 +12,26 @@ Jar up the files that get dumped into the bin directory after
|
|||||||
the build, and copy the following directory structure to the
|
the build, and copy the following directory structure to the
|
||||||
$ECLIPSE_HOME/plugins directory:
|
$ECLIPSE_HOME/plugins directory:
|
||||||
|
|
||||||
$ECLIPSE_HOME/plugins/net.sourceforge.pmd_0.4.0 (or current version)
|
$ECLIPSE_HOME/plugins/net.sourceforge.pmd_0.5.0 (or current version)
|
||||||
plugin.xml
|
plugin.xml
|
||||||
pmd-eclipse.jar
|
pmd-eclipse.jar
|
||||||
lib/pmd-1.02.jar (or most recent version of PMD.)
|
lib/pmd-1.03.jar (or most recent version of PMD.)
|
||||||
icons/pmd-icon-32.gif
|
icons/pmd-icon-32.gif
|
||||||
icons/pmd-icon-16.gif
|
icons/pmd-icon-16.gif
|
||||||
|
|
||||||
Finally, Customize your Development Environment to get the PMD buttons
|
===================================================================
|
||||||
and Menu options.
|
To Use:
|
||||||
|
===================================================================
|
||||||
|
|
||||||
|
From the Windows, Preferences menu, you can select what rulesets PMD will use.
|
||||||
|
PMD can now be used in two different modes.
|
||||||
|
On the Properties page for a project, you can enable PMD for the project. This
|
||||||
|
will cause PMD to be run after each compile, and the PMD violations will appear as
|
||||||
|
Warnings in the Tasks view.
|
||||||
|
You can also right click on a package or class and use the Check Code with PMD
|
||||||
|
option. This will run PMD on the selected files, and violations will
|
||||||
|
appear as a Task in the Tasks view. You can mark these Tasks as complete
|
||||||
|
and remove them from the Tasks view.
|
||||||
|
|
||||||
Share and Enjoy!
|
Share and Enjoy!
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
1. DONE. Clear out task list of previously entered PMD tasks when re-running PMD ** Fixed
|
1. DONE. Clear out task list of previously entered PMD tasks when re-running PMD ** Fixed
|
||||||
2. DONE. Modify to allow allow ruleset selection from a drop-down list that is populated from
|
2. DONE. Modify to allow allow ruleset selection from a drop-down list that is populated from
|
||||||
the ruleset.properties file. The user should still be allowed to type in a rule set as well.
|
the ruleset.properties file. The user should still be allowed to type in a rule set as well.
|
||||||
3. DONE. Update to use PMD 1.02
|
3. DONE. Update to use PMD 1.03
|
||||||
4. DONE. Update TODO.txt
|
4. DONE. Limit PMD to current project, instead of all.
|
||||||
|
5. DONE. Add progress monitor
|
||||||
5. Limit PMD to current project, instead of all.
|
6. DONE. Update TODO.txt
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user