ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hohlen, John C" <>
Subject Can't Run JUnits With ANT 1.6
Date Mon, 05 Jan 2004 13:02:52 GMT
I'm currently migrating from ANT 1.5.4 to ANT 1.6.  However, whenever I try to run the JUnit
task, I'm encountering a "VerifyError".  More specifically:

    [junit] java.lang.VerifyError: (class: org/apache/tools/ant/taskdefs/optional/junit/FormatterEle
ment, method: shouldUse signature: (Lorg/apache/tools/ant/Task;)Z) Incompatible object argument
function call
    [junit]     at
    [junit]     at
    [junit] Exception in thread "main"

Any thoughts one what my issue could be?   



P.S. Here is the sniplet from my build.xml:

  <target name="run.ut" depends="compile.ut"
          description="Run all unit tests, printing to xml file (for report).">
     <delete dir="${unittest.results}"/>
     <mkdir dir="${unittest.results}"/>
     <junit printsummary="yes" fork="yes" dir="${build.home}" failureproperty="junit.failure">
       <sysproperty key="unittest_src" value="${unittest.src}"/>
       <classpath refid="fleetsystems.classpath"/>
       <formatter type="xml"/>
       <batchtest fork="yes"
         <fileset dir="${unittest.src}">
           <include name="**/*"/>
           <include name="**/UT_*.java"/>
           <exclude name="**/testutils/**"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message