forked from phoedos/pmd
post-release stuff
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@447 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<currentVersion>0.6</currentVersion>
|
||||
<logo>images/pmd_logo_small.jpg</logo>
|
||||
<organization>
|
||||
<name>Tom Copeland/David Dixon-Peugh</name>
|
||||
<name>Tom Copeland/David Dixon-Peugh/Dave Craine</name>
|
||||
<url>http://pmd.sourceforge.net/</url>
|
||||
<logo>http://sourceforge.net/sflogo.php?group_id=56262&type=5</logo>
|
||||
</organization>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<td>pmd-jedit</td>
|
||||
<td>0.4</td>
|
||||
<td>tomcopeland</td>
|
||||
<td><a href="http://sourceforge.net/project/showfiles.php?group_id=56262&release_id=99325">X</a></td></tr>
|
||||
<td><a href="http://sourceforge.net/project/showfiles.php?group_id=56262&release_id=100427">X</a></td></tr>
|
||||
<tr><td>Maven</td>
|
||||
<td>pmd-maven</td>
|
||||
<td>N/A</td>
|
||||
@ -85,6 +85,7 @@ To enable this OpenTool in JBuilder, place the PMDOpenTool.jar file AND the pmd-
|
||||
x.x is the version id) into JBuilder's lib/ext directory. Once JBuilder is restart, the PMD OpenTool
|
||||
will be enabled.
|
||||
What you can do:
|
||||
<ul>
|
||||
<li>Check a single file by bringing up the context menu from the file tab and selecting PMDCheck</li>
|
||||
<li>Configure the rulesets that the PMD OpenTool will use by selecting Tools->PMD->Configure PMD</li>
|
||||
<li>Check all the files in a project by brining up the context menu for the project node and selecting PMD Check Project</li>
|
||||
@ -96,6 +97,7 @@ violation message within this view, you will be taken to the line in the source
|
||||
<li>Enable selection of individual rules within a rule set (maybe)</li>
|
||||
<li>Optional insertion of @todo comments at the point of a violation</li>
|
||||
<li>Possibly provide configurable ability to limit the number of violations per rule per file</li>
|
||||
</ul>
|
||||
</p>
|
||||
</subsection>
|
||||
|
||||
|
@ -24,11 +24,11 @@
|
||||
<item name="JDK 1.4" href="/demo/jdk-1.4.html" />
|
||||
</menu>
|
||||
<menu name="Rule Sets">
|
||||
<item name="Basic Rules" href="/rules/basic.html" />
|
||||
<item name="Naming Rules" href="/rules/naming.html" />
|
||||
<item name="Basic" href="/rules/basic.html" />
|
||||
<item name="Naming" href="/rules/naming.html" />
|
||||
<item name="Unused Code" href="/rules/unusedcode.html" />
|
||||
<item name="Design Patterns" href="/rules/design.html" />
|
||||
<item name="Import statements" href="/rules/imports.html" />
|
||||
<item name="Import Statements" href="/rules/imports.html" />
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
||||
|
@ -12,15 +12,15 @@
|
||||
<li>Type run <filename> <report format>, <rule set file>i.e.:</li>
|
||||
<br></br>
|
||||
<pre>
|
||||
C:\data\pmd\pmd\etc>run c:\data\pmd\pmd\test-data\Unused1.java xml rulesets/unusedcode.xml
|
||||
C:\tmp\pmd-0.6\pmd\etc>run c:\data\pmd\pmd\test-data\Unused1.java xml rulesets/unusedcode.xml
|
||||
<?xml version="1.0"?><pmd>
|
||||
<ruleviolation>
|
||||
<file>c:\data\pmd\pmd\test-data\Unused1.java</file>
|
||||
<line>5</line>
|
||||
<description>Found unused local variable 'fr'</description>
|
||||
</ruleviolation>
|
||||
</pmd>
|
||||
C:\data\pmd\pmd\etc>
|
||||
<file name="c:\data\pmd\pmd\test-data\Unused1.java">
|
||||
<violation line="5" rule="UnusedLocalVariable">
|
||||
Avoid unused local variables such as 'fr'
|
||||
</violation>
|
||||
</file></pmd>
|
||||
|
||||
C:\tmp\pmd-0.6\pmd\etc>
|
||||
</pre>
|
||||
<br></br>
|
||||
<li>Notice that in this case the output is in XML, so you can redirect it to a file and XSLT it or whatever</li>
|
||||
|
Reference in New Issue
Block a user