ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Re: Crimson hard coded into junit
Date Tue, 30 Apr 2002 20:50:44 GMT
Hmm...  Do you want me to add back crimson
in?  Or can we escape by saying for the beta,
you would need to stuff crimson.jar in
lib/optional, and try to fix it before beta-2?

Cheers,
Magesh

***************************
*  Nil Magnum Nisi Bonum  *
***************************
----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "ant" <ant-dev@jakarta.apache.org>
Sent: Tuesday, April 30, 2002 2:16 PM
Subject: Crimson hard coded into junit


> 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>
>


--
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