RE: Problem with Centipede
"Manocha, Nikunj" <[email protected]>
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <C34B80A4EF89E24491CBE1E50D047C642AB6A1@sghdqms03.global.ad.sabre.com> |
Hi Nick,
I am using j2sdk1.4.1_03. Also, I am specifying xalan.jar, xerces.jar in the module.xml.
I was initially using the junit.cent. But it was giving me error too. Hence, I tried writing my own target.
I was getting the following error output while trying to use it as a cent.
*********************************************
Running com.sabre.functionaltests.ServiceRegressionTest
Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter.formatError(BriefJUnitResultFormatter.java:254)
at org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter.addError(BriefJUnitResultFormatter.java:229)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:342)
TEST com.sabre.functionaltests.ServiceRegressionTest FAILED
***********************************************8
-----Original Message-----
From: Nick Chalko [mailto:[email protected]]
Sent: Saturday, July 19, 2003 12:47 PM
To: [email protected]
Subject: Re: Problem with Centipede
Which JDK are you using.
the cent command uses a different classpath than the ant uses.
So it is not finding the needed jar. probably xalan or xerces or w3c.
Have you tried using the junit.cent with the built in <test> target ?
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0