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:
Tom Copeland
2002-07-18 18:28:55 +00:00
parent 28caf2968a
commit 31c4a6715d
4 changed files with 15 additions and 13 deletions

View File

@ -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&amp;type=5</logo>
</organization>

View File

@ -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&amp;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>

View File

@ -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>

View File

@ -12,15 +12,15 @@
<li>Type run &lt;filename&gt; &lt;report format&gt;, &lt;rule set file&gt;i.e.:</li>
<br></br>
<pre>
C:\data\pmd\pmd\etc&gt;run c:\data\pmd\pmd\test-data\Unused1.java xml rulesets/unusedcode.xml
C:\tmp\pmd-0.6\pmd\etc&gt;run c:\data\pmd\pmd\test-data\Unused1.java xml rulesets/unusedcode.xml
&lt;?xml version="1.0"?&gt;&lt;pmd&gt;
&lt;ruleviolation&gt;
&lt;file&gt;c:\data\pmd\pmd\test-data\Unused1.java&lt;/file&gt;
&lt;line&gt;5&lt;/line&gt;
&lt;description&gt;Found unused local variable 'fr'&lt;/description&gt;
&lt;/ruleviolation&gt;
&lt;/pmd&gt;
C:\data\pmd\pmd\etc&gt;
&lt;file name="c:\data\pmd\pmd\test-data\Unused1.java"&gt;
&lt;violation line="5" rule="UnusedLocalVariable"&gt;
Avoid unused local variables such as 'fr'
&lt;/violation&gt;
&lt;/file&gt;&lt;/pmd&gt;
C:\tmp\pmd-0.6\pmd\etc&gt;
</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>