Laurent Rieu wrote:

I have the following error when trying to build the latest Merlin distribution after a CVS update. Any hint ?


Try adding the following depedencies to extension/project.xml


<!-- pre JDK 1.4 dependencies -->

   <dependency>
     <id>xml-apis</id>
     <version>1.0.b2</version>
     <url>http://xml.apache.org/xerces2-j/</url>
   </dependency>

   <dependency>
     <id>xerces</id>
     <version>2.2.1</version>
     <url>http://xml.apache.org/xerces2-j/</url>
   </dependency>

Le me know if it solves the problem.

Steve.

Laurent

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

+----------------------------------------
| Installing: Avalon Extension Implementation
| Memory: 15M/19M
+----------------------------------------

merlin-propergate:

java:prepare-filesystem:

java:compile:
   [javac] Since fork is true, ignoring compiler setting.

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
   [junit] Running org.apache.avalon.extension.manager.impl.test.ComparatorTestCase
   [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node
   [junit]     at java.lang.Class.forName0(Native Method)
   [junit]     at java.lang.Class.forName(Class.java:115)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:1
83)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.
java:550)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:495)
   [junit] Exception in thread "main"
   [junit] [ERROR] TEST 
org.apache.avalon.extension.manager.impl.test.ComparatorTestCase FAILED
   [junit] Running org.apache.avalon.extension.test.DeweyDecimalTestCase
   [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node
   [junit]     at java.lang.Class.forName0(Native Method)
   [junit]     at java.lang.Class.forName(Class.java:115)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:1
83)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.
java:550)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:495)
   [junit] Exception in thread "main"
   [junit] [ERROR] TEST org.apache.avalon.extension.test.DeweyDecimalTestCase FAILED
   [junit] Running org.apache.avalon.extension.test.ExtensionTestCase
   [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node
   [junit]     at java.lang.Class.forName0(Native Method)
   [junit]     at java.lang.Class.forName(Class.java:115)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:1
83)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.
java:550)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:495)
   [junit] Exception in thread "main"
   [junit] [ERROR] TEST org.apache.avalon.extension.test.ExtensionTestCase FAILED
   [junit] Running org.apache.avalon.extension.test.PackageRepositoryTestCase
   [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node
   [junit]     at java.lang.Class.forName0(Native Method)
   [junit]     at java.lang.Class.forName(Class.java:115)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:1
83)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.
java:550)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:495)
   [junit] Exception in thread "main"
   [junit] [ERROR] TEST org.apache.avalon.extension.test.PackageRepositoryTestCase 
FAILED
   [junit] Running org.apache.avalon.extension.test.SpecificationTestCase
   [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node
   [junit]     at java.lang.Class.forName0(Native Method)
   [junit]     at java.lang.Class.forName(Class.java:115)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:1
83)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.
java:550)
   [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:495)
   [junit] Exception in thread "main"
   [junit] [ERROR] TEST org.apache.avalon.extension.test.SpecificationTestCase FAILED

BUILD FAILED
Unable to obtain goal [test:test] -- null:108:54: <fail> There were test failures.
Total time:  13 seconds

************************************************************************
Ce message a ete inspecte par un anti-virus

Nous vous rappelons que la taille des messages  ne doit pas depasser 1.5 Mo
************************************************************************




--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




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



Reply via email to