ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Crimson hard coded into junit
Date Tue, 30 Apr 2002 18:16:28 GMT
before we release beta-1 , I should point out that junit seems to depend
upon crimson, not xerces, for its XML formatter: if you dont have
crimson.jar in ant_home\lib; it doesnt work.


    <junit printsummary="false"
           errorProperty="test.failed"
           failureProperty="test.failed"
           haltonfailure="false"
           fork="true">
      <classpath
        refid="functional-test.classpath"/>
      <sysproperty key="server.url"
        value="${server.url}"/>
      <formatter type="xml"/>
      <formatter type="brief" usefile="false"/>
      <test name="${testcase}" if="testcase"/>
      <batchtest todir="${test.data.dir}" unless="testcase">
        <fileset dir="test" includes="**/*Test.java"/>
      </batchtest>
    </junit>


    [junit] javax.xml.parsers.FactoryConfigurationError: Provider for
javax.xml.parsers.DocumentBuilderFactory cannot be found
    [junit]  at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
Source)
    [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.getDocu
mentBuilder(XMLJUnitResultFormatter.java:93)
    [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.startTe
stSuite(XMLJUnitResultFormatter.java:138)
    [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireStartTestSu
ite(JUnitTestRunner.java:433)
    [junit] TEST com.hp.zorro.muttley.httpunit.HttpUnitTest FAILED
    [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:279)
    [junit]  at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:524)
    [junit] Exception in thread "main"


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message