Fixed [ 782235 ] Ant -verbose no longer triggers stacktrace

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2150 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-08-04 14:46:31 +00:00
parent 3029ec1904
commit b87a629da6
4 changed files with 4 additions and 2 deletions

View File

@ -61,7 +61,7 @@
<taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask"/>
<pmd rulesetfiles="rulesets/unusedcode.xml" printtoconsole="true">
<formatter type="csv" toFile="pmd_report.csv"/>
<fileset dir="/home/tom/tmp/">
<fileset dir="/usr/local/java/src/java/lang/">
<include name="Foo.java"/>
</fileset>
</pmd>

View File

@ -1,5 +1,6 @@
???? 2003 - 1.3:
Fixed bug 782246 - FinalFieldCouldBeStatic no longer flags fields in interfaces.
Fixed bug 782235 - "ant -version" now prints more details when a file errors out.
TODO - fix it so tests and rules don't duplicate the xpath expressions
August 1, 2003 - 1.2.1:

View File

@ -129,6 +129,7 @@ public class PMDTask extends Task {
}
} catch (PMDException pmde) {
log(pmde.toString(), Project.MSG_VERBOSE);
log(pmde.getReason().getMessage(), Project.MSG_VERBOSE);
if (failOnError) {
throw new BuildException(pmde);
}

View File

@ -10,7 +10,7 @@
<section name="Credits">
<subsection name="Individuals">
<ul>
<li>Paul Roebuck - Bug report</li>
<li>Paul Roebuck - Several bug reports</li>
<li>Maik Schreiber - Bug report</li>
<li>Erik Lee - Bug report</li>
<li>Brandon Franklin - pmd-web suggestions</li>