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:
@ -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" />
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user