added page on running PMD

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@43 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-06-25 13:28:42 +00:00
parent 1e1276634a
commit 14638d5002

View File

@@ -9,8 +9,8 @@
<body> <body>
<section name="Running PMD via command line"> <section name="Running PMD via command line">
<ul> <ul>
<li>Build PMD by going to the etc directory and typing 'ant clean' <li>Build PMD by going to the etc directory and typing 'ant clean'</li>
<li>Type run 'filename', i.e.: <li>Type run 'filename', i.e.:</li>
<pre> <pre>
C:\data\pmd\pmd\etc>run c:\data\pmd\pmd\test-data\Unused1.java C:\data\pmd\pmd\etc>run c:\data\pmd\pmd\test-data\Unused1.java
C:\data\pmd\pmd\etc>set CLASSPATH=../build/ C:\data\pmd\pmd\etc>set CLASSPATH=../build/
@@ -26,10 +26,10 @@ e&gt;
</section> </section>
<section name="Running PMD via Ant"> <section name="Running PMD via Ant">
<ul> <ul>
<li>Build PMD by going to the etc directory and typing 'ant clean' <li>Build PMD by going to the etc directory and typing 'ant clean'</li>
<li>Add a new Ant target to your build file - <a href="ant-task.html">here's an example</a>. <li>Add a new Ant target to your build file - <a href="ant-task.html">here's an example</a>.</li>
<li>Make sure the PMD class files are on your classpath. <li>Make sure the PMD class files are on your classpath.</li>
<li>Run Ant like you normally do. <li>Run Ant like you normally do.</li>
</ul> </ul>
</section> </section>
</body> </body>