modified ant task so that verbose=true prints complete stacktraces
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1429 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
?????? - 1.04
|
||||
|
||||
February 11, 2003 - 1.03
|
||||
Added new rules: CyclomaticComplexityRule, AssignmentInOperandRule
|
||||
Added numbering to the HTMLRenderer; thx to Luke Francl for the code.
|
||||
|
@ -1,3 +1,5 @@
|
||||
>>>>>>>>>>>>>>>>> Update ant docs to reflect verbose attribute change
|
||||
|
||||
Move rulesets/tmp.xml somewhere else
|
||||
update run.bat to point to pmd-1.03.jar
|
||||
update cpdgui.bat to point to pmd-1.03.jar
|
||||
@ -37,6 +39,7 @@ copy ..\lib\xmlParserAPIs-2.0.2.jar c:\tmp\pmd\lib
|
||||
copy ..\lib\xercesImpl-2.0.2.jar c:\tmp\pmd\lib
|
||||
copy the docs directory over to c:\tmp\pmd -- how to do this on cmd line?
|
||||
copy the test-data directory over to c:\tmp\pmd
|
||||
copy the xslt directory over to c:\tmp\pmd
|
||||
Zip it up, rename it pmd-bin-1.03.zip
|
||||
|
||||
Time to tag:
|
||||
|
@ -106,6 +106,10 @@ public class PMDTask extends Task {
|
||||
throw new BuildException(fnfe);
|
||||
}
|
||||
} catch (PMDException pmde) {
|
||||
if (verbose) {
|
||||
pmde.printStackTrace();
|
||||
pmde.getOriginalException().printStackTrace();
|
||||
}
|
||||
if (failOnError) {
|
||||
throw new BuildException(pmde);
|
||||
}
|
||||
|
Reference in New Issue
Block a user