forked from phoedos/pmd
release preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@199 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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
|
||||
|
||||
|
Binary file not shown.
@ -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;
|
||||
|
Reference in New Issue
Block a user