*** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@26 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,51 +0,0 @@
|
||||
<html>
|
||||
<head><title>Ant and PMD</title></head>
|
||||
<body>
|
||||
<h3>PMD</h3>
|
||||
<h3>Description</h3>
|
||||
Runs a set of PMD rules on a set of files and generates a report.
|
||||
<br>
|
||||
<h3>Parameters</h3>
|
||||
<table border="1" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><b>Attribute</b></td>
|
||||
<td valign="top"><b>Description</b></td>
|
||||
<td align="center" valign="top"><b>Required</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">reportfile</td>
|
||||
<td valign="top">The file to which the report is written.</td>
|
||||
<td valign="top" align="center">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">verbose</td>
|
||||
<td valign="top">Verbose output - just the name of each file processed
|
||||
Defaults to the current directory.</td>
|
||||
<td valign="top" align="center">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">rulesettype</td>
|
||||
<td valign="top">The set of rules to use (all, general, cougaar)</td>
|
||||
<td valign="top" align="center">Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">format</td>
|
||||
<td valign="top">The report format (xml, text)</td>
|
||||
<td valign="top" align="center">Yes</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<h3>Examples</h3>
|
||||
<pre>
|
||||
<target name="pmd">
|
||||
<taskdef name="pmd" classname="net.sourceforge.pmd.PMDTask"/>
|
||||
<pmd reportFile="c:\foo.txt" verbose="false" rulesettype="general" format="xml">
|
||||
<fileset dir="c:\j2sdk1.4.0\src\">
|
||||
<include name="**/*.java"/>
|
||||
</fileset>
|
||||
</pmd>
|
||||
</target>
|
||||
</pre>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user