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:
@ -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>
|
||||
|
@ -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:
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user