diff --git a/pmd/etc/doing_the_next_pmd_release.txt b/pmd/etc/doing_the_next_pmd_release.txt index ff0a94bdc0..df15f6bd73 100644 --- a/pmd/etc/doing_the_next_pmd_release.txt +++ b/pmd/etc/doing_the_next_pmd_release.txt @@ -21,8 +21,8 @@ unzip it into c:\tmp\pmd-0.3 clear classpath TESTS: Can you 1) run 1 file and get a report -run c:\data\pmd\pmd\test-data\Unused1.java xml all -run c:\data\pmd\pmd\test-data\Unused1.java html all +run c:\data\pmd\pmd\test-data\Unused1.java xml rulesets/unusedcode.xml +run c:\data\pmd\pmd\test-data\Unused1.java html rulesets/unusedcode.xml 2) run the Ant 'pmd' task and get a report ant pmd diff --git a/pmd/lib/pmd-0.3.jar b/pmd/lib/pmd-0.3.jar index aad2062603..47806e1c2f 100644 Binary files a/pmd/lib/pmd-0.3.jar and b/pmd/lib/pmd-0.3.jar differ diff --git a/pmd/src/net/sourceforge/pmd/ant/PMDTask.java b/pmd/src/net/sourceforge/pmd/ant/PMDTask.java index 5ee5a20b3d..a0e568c7a1 100644 --- a/pmd/src/net/sourceforge/pmd/ant/PMDTask.java +++ b/pmd/src/net/sourceforge/pmd/ant/PMDTask.java @@ -1,8 +1,14 @@ package net.sourceforge.pmd.ant; -import org.apache.tools.ant.*; -import org.apache.tools.ant.types.*; -import java.util.*; +import org.apache.tools.ant.Task; +import org.apache.tools.ant.BuildException; +import org.apache.tools.ant.DirectoryScanner; +import org.apache.tools.ant.types.FileSet; + +import java.util.List; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.StringTokenizer; import java.io.*; import net.sourceforge.pmd.ast.JavaParser;