ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spencer A Marks <sma...@digisolutions.com>
Subject Problem with java task and JUnit on Linux
Date Sun, 11 Feb 2001 00:55:11 GMT
Hi, 

Can someone shed some light on what this error means:

(Relevant build.xml below.) 

Thanks, S.

 [junit] Running com.digisolutions.AllTests

BUILD FAILED

java.lang.AbstractMethodError
        at junit.framework.TestResult.addFailure(TestResult.java:46)
        at junit.framework.TestResult.runProtected(TestResult.java:127)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:121)
        at junit.framework.TestSuite.runTest(TestSuite.java:157)
        at junit.framework.TestSuite.run(TestSuite.java:152)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:202)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:268)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:420)
        at org.apache.tools.ant.Main.main(Main.java:149)

-----------------
build.xml snippet


  <target name="runtests" depends="compiletests">
       <junit printsummary="yes" fork="no" haltonfailure="no">
       <formatter type="xml" />
       <classpath>
           <pathelement location="${test.dir}" />
           <pathelement path="${java.class.path}" />
           <pathelement path="build/testcases" />
           <pathelement path="${build.dir}" />
       </classpath>
       <test name="com.digisolutions.AllTests" />
    </junit>
  </target>


Mime
View raw message