diff --git a/pmd/etc/build.xml b/pmd/etc/build.xml index 45c987aec6..6f2e931268 100644 --- a/pmd/etc/build.xml +++ b/pmd/etc/build.xml @@ -61,7 +61,7 @@ - + diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index 0d6b87e10c..3b50960e5f 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -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: diff --git a/pmd/src/net/sourceforge/pmd/ant/PMDTask.java b/pmd/src/net/sourceforge/pmd/ant/PMDTask.java index 0ebbfb4c19..d07dd9dec9 100644 --- a/pmd/src/net/sourceforge/pmd/ant/PMDTask.java +++ b/pmd/src/net/sourceforge/pmd/ant/PMDTask.java @@ -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); } diff --git a/pmd/xdocs/credits.xml b/pmd/xdocs/credits.xml index c711c3803b..fe5e0faa41 100644 --- a/pmd/xdocs/credits.xml +++ b/pmd/xdocs/credits.xml @@ -10,7 +10,7 @@
    -
  • Paul Roebuck - Bug report
  • +
  • Paul Roebuck - Several bug reports
  • Maik Schreiber - Bug report
  • Erik Lee - Bug report
  • Brandon Franklin - pmd-web suggestions