Added requires-junit target thx to Paul Roebuck

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2155 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-08-05 14:41:58 +00:00
parent 1e02ebb9ef
commit 59f743f188
2 changed files with 7 additions and 2 deletions

View File

@ -67,7 +67,12 @@
</pmd>
</target>
<target name="test" depends="compile">
<target name="requires-junit">
<available classname="junit.framework.Test" property="junit.available"/>
<fail unless="junit.available" message="JUnit not available. Place a copy in CLASSPATH."/>
</target>
<target name="test" depends="requires-junit,compile">
<junit printsummary="yes" haltonfailure="yes">
<classpath>
<path refid="classpath.path" />

View File

@ -10,8 +10,8 @@
<section name="Credits">
<subsection name="Individuals">
<ul>
<li>Paul Roebuck - Ant build improvement, several bug reports</li>
<li>Jon A. Maxwell - Bug report</li>
<li>Paul Roebuck - Several bug reports</li>
<li>Maik Schreiber - Bug report</li>
<li>Erik Lee - Bug report</li>
<li>Brandon Franklin - pmd-web suggestions</li>