git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1498 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-03-03 17:12:04 +00:00
parent 730d16f2e7
commit 7679751649

View File

@ -22,17 +22,16 @@ Avoid unused local variables such as 'fr'
C:\tmp\pmd-1.03\pmd\etc>
</source>
<li>Or, if you want to just run PMD without the batch file, you can do a:</li>
<li>If you are using JDK 1.3 or you just want to run PMD without the batch file, you can do a:</li>
<source>
C:\data\pmd\pmd>java -cp lib\pmd-1.03.jar;lib\xercesImpl-2.0.2.jar;lib\xmlParser
APIs-2.0.2.jar net.sourceforge.pmd.PMD c:\j2sdk1.4.1_01\src\java\lang xml rulese
ts/imports.xml > report.xml
C:\data\pmd\pmd>
C:\data\pmd\pmd>java -cp lib\pmd-1.03.jar;lib\xercesImpl-2.0.2.jar;lib\xmlParserAPIs-2.0.2.jar
net.sourceforge.pmd.PMD
c:\j2sdk1.4.1_01\src\java\lang xml
rulesets/imports.xml
</source>
<br></br>
<li>Notice that in this case the output is in XML, so you can redirect it to a file and XSLT it or whatever</li>
</ul>
</ul>
</section>
<section name="Running PMD via Ant">
<ul>