Sorry, the artifactId should be xercesImpl.

Can you try that?

Thanks,
Raymond

----- Original Message ----- From: "Kevin Williams" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Monday, July 24, 2006 10:57 PM
Subject: Re: Test case failures


Hi Raymond,

I am using: IBM 32-bit SDK and Runtime Environment for Windows, Java 2 Technology Edition, Version 5.0

I tried your patch but the result is a new failure:

        ======================================

   Downloading:
   http://repo1.maven.org/maven2/xerces/xerces/2.8.0/xerces-2.8.0.jar
   [WARNING] Unable to get resource from repository central
   (http://repo1.maven.or
   /maven2)
   [INFO]
   ------------------------------------------------------------------------
   [ERROR] BUILD ERROR
   [INFO]
   ------------------------------------------------------------------------
   [INFO] Failed to resolve artifact.

   Missing:
   ----------
   1) xerces:xerces:jar:2.8.0

   ===============================================

There is no 2.8.0 direcrory under "xerces/xerces". I notice there is under "xerces/xercesImpl"

--Kevin


Raymond Feng wrote:

Hi, Kevin.

Which JDK do you use? It seems that it doesn't come with a DOM implementation.

Can you try to apply the attched patch to databinding-framework/pom.xml?

Thanks,
Raymond


----- Original Message ----- From: "Kevin Williams" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Monday, July 24, 2006 8:39 PM
Subject: Test case failures


After having trouble getting svn update to succeed I reloaded the entire java tree. The first build attempt succeeded, I am almost certain :-), but subsequent attempts fail with this error:


[surefire] Running org.apache.tuscany.databinding.impl.MediatorImplTestCase
[surefire] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.041 sec
[surefire]
[surefire] testTransform1(org.apache.tuscany.databinding.impl.MediatorImplTestCa
se)  Time elapsed: 0.031 sec  <<< ERROR!
javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.Docu
mentBuilderFactory cannot be found
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
       at org.apache.xalan.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:57)
at org.apache.tuscany.databinding.xml.SAX2DOMPipe.<init>(SAX2DOMPipe.jav
a:35)
at org.apache.tuscany.databinding.impl.MediatorImplTestCase.setUp(Mediat
orImplTestCase.java:61)
       at junit.framework.TestCase.runBare(TestCase.java:125)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBatt
ery.java:242)
at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.j
ava:216)
at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785
)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Index: pom.xml
===================================================================
--- pom.xml    (revision 425233)
+++ pom.xml    (working copy)
@@ -47,6 +47,12 @@
            <scope>compile</scope>
        </dependency>
        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xerces</artifactId>
+            <version>2.8.0</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to