From afd9e2736173624285878551af66a3ac26c29883 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Mon, 28 Apr 2003 14:33:45 +0000 Subject: [PATCH] Gel docs cleanup git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1867 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/xdocs/credits.xml | 1 + pmd/xdocs/integrations.xml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pmd/xdocs/credits.xml b/pmd/xdocs/credits.xml index 7407a9c05d..d80c5f1079 100644 --- a/pmd/xdocs/credits.xml +++ b/pmd/xdocs/credits.xml @@ -10,6 +10,7 @@
    +
  • Paul King - a complete rewrite of the Gel plugin
  • Gael Marziou - "exclude" rule feature request, bug reports
  • Philippe T'Seyen - refactoring and cleanup of the CPD Ant task, an XML renderer (with unit tests!) for CPD
  • Michael Montuori - bug reports on the Gel IDE plugin
  • diff --git a/pmd/xdocs/integrations.xml b/pmd/xdocs/integrations.xml index f338efb167..2cc151662b 100644 --- a/pmd/xdocs/integrations.xml +++ b/pmd/xdocs/integrations.xml @@ -160,8 +160,9 @@ selecting the "Ask for Directory" checkbox.

  • Click add and select "net.sourceforge.pmd.gel.PMDPlugin"

That's pretty much it. Now you can open a Java project and click on Plugins->PMD and - PMD will run several of the rulesets on the source code in your project. Or, - if you don't have a project open, PMD will check the current file in the editor.

+ a configuration panel will pop up. You can pick which ruleset you want to run and + you can also pick whether you want to run PMD on the current file or on every + source file in your project.

Note that the source code needs to be compilable before PMD can check it.