Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 7011 invoked from network); 16 Nov 2001 05:30:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Nov 2001 05:30:58 -0000 Received: (qmail 23973 invoked by uid 97); 16 Nov 2001 05:30:57 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23957 invoked by uid 97); 16 Nov 2001 05:30:57 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 23946 invoked from network); 16 Nov 2001 05:30:56 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Peter Davis Organization: Speaklink, Inc. To: "Ant Users List" Subject: Re: Junit test reports Date: Thu, 15 Nov 2001 21:30:54 -0800 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The FactoryConfigurationError tells me that your XML parser is not set up in the classpath properly. Try adding a pointing to the location of your xerces.jar or crimson.jar and see if that works. On Tuesday 13 November 2001 11:51 pm, you wrote: > Hello, > > I'm trying to automise our Junit tests with Ant. Taht works but 'they' want > a report every morning of the tests that ran during the night. I saw that > there are some report tools for tests but I can't get them running. I'm > using junit3.7. Here is a sample opf my build.xml > > > > > > > location="${myenv.ANT_HOME}/lib/optional.jar"/> > location="${myenv.ANT_HOME}/lib/ant.jar"/> > > > > > > name="**/test/**/suites/FacadeTests.class"> > > > > > > > I get the following errors when I try to run this target > > facade_tests: > [junit] Exception in thread "main" > javax.xml.parsers.FactoryConfigurationError: > com.sun.xml.parser.DocumentBuilderFactoryImpl > [junit] at > javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory >. java:80) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.getDoc >u mentBuilder(XMLJUnitResultFormatter.java:81) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.startT >e stSuite(XMLJUnitResultFormatter.java:124) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireStartTestS >u ite(JUnitTestRunner.java:279) [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR >u nner.java:200) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest >R unner.java:342) > [junit] TEST com.siemens.square.test.suites.FacadeTests FAILED > > BUILD SUCCESSFUL > > Does anybody have any idea what I'm doing wrong ? > > > Thanks > Erik -- Furthermore, I believe bacon prevents hair loss. Peter Davis Developer, Speaklink Inc. peter@speaklink.com -- To unsubscribe, e-mail: For additional commands, e-mail: