From 8fc93f5e890c5c55819abbc16ab7bbd297dbaf95 Mon Sep 17 00:00:00 2001
From: Tom Copeland
Date: Thu, 16 Jan 2003 19:14:26 +0000
Subject: [PATCH] Removed JDBCReportListener stuff; all that info is still in
CVS of course - rev 1.13
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1343 51baf565-9d33-0410-a72c-fc3788e3496d
---
pmd/xdocs/ant-task.xml | 86 ++++++++----------------------------------
1 file changed, 15 insertions(+), 71 deletions(-)
diff --git a/pmd/xdocs/ant-task.xml b/pmd/xdocs/ant-task.xml
index 4a8ff013e8..eed4627764 100644
--- a/pmd/xdocs/ant-task.xml
+++ b/pmd/xdocs/ant-task.xml
@@ -10,7 +10,7 @@
-
Runs a set of static code analysis rules on Java source code files and generates a list of problems found.
+
Runs a set of static code analysis rules on some Java source code files and generates a list of problems found.
@@ -20,17 +20,27 @@
Required
-
formatter
-
Specifies formats and files to which the report is written. Can be of type 'xml' or 'html'. See example below.
+
reportfile
+
The file to which the report is written.
Yes
+
+
verbose
+
Verbose output - names of files processed, rule counts, etc.
+
No
+
rulesetfiles
A comma delimited list of ruleset files ('rulesets/basic.xml,rulesets/design.xml'). If you write
your own ruleset files, you can put them on the classpath and plug them in here.
Yes
+
+
format
+
The report format (xml, html)
+
Yes
+
failonerror
Whether or not to fail the build if PMD finds any problems
@@ -41,68 +51,15 @@
Whether or not to print any problems found to the Ant log/console
No
-
-
shortFilenames
-
Places truncated filenames in the report. This can reduce your report file size by 15%-20%.
-
No
-
-
-
verbose
-
Verbose output - names of files processed, rule counts, etc.
-
No
-
-
-
-PMD can record its information into a JDBC datasource using a ]]> tag. This
-tag has several attributes:
-
-
-
Attribute
-
Description
-
Required
-
-
-
driver
-
Class name of the JDBC driver to use to connect to the database.
-
Optional. If your default system is set up to install the JDBC driver,
- or if something else will install it, don't do it. Otherwise, provide the
- value.
-
-
-
url
-
JDBC URL to connect to the database with.
-
Required
-
-
-
user
-
User to connect to the database as.
-
Required
-
-
-
password
-
Password to use for logging into the database.
-
Required
-
-
-
projectid
-
This is an integer which will get put into the PMD_RUNS table. Ideally this should
- be used to connect this run to other data in the system.
-
Optional. If this value is ommitted, the default value will be 0.