Henri Gomez wrote:
Stefan Bodewig wrote:

On Thu, 07 Nov 2002, Bill Burton <[EMAIL PROTECTED]> wrote:


The IBM JVM's typically include some version of the Xerces parser in
lib/ext so you're probably not using the one included with Ant.



And probably one that doesn't support the features xmlvalidate needs.


No, I'm using a JDK 1.3.1 from the rpm without any xml parser,
and the parser I'm using in the test case is the one which case with
ant HEAD CVS.

You could try adding an -extdir option to pointing to an empty
directory and then run the tests.



Or remove xerces from lib/ext as it will probably cause problems with other applications as well.


This stuff is installed with IBM SDK on Windows boxes only...

I'm checkout (now 15:13 CET) ant HEAD from CVS and remake a test.

Ok, the XMLvalidate test works correctly with the new CVS snapshot on my Redhat 7.2 (not iseries) with IBM SDK 1.3.1 (I'm wonder why the yesterday morning
snapshot wasn't working)


The only problem is about fork :

Testcase: testAll(org.apache.tools.ant.taskdefs.InitializeClassTest): FAILED
Forked - non-forked mismatch
junit.framework.AssertionFailedError: Forked - non-forked mismatch
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.apache.tools.ant.taskdefs.InitializeClassTest.testAll(InitializeClassTest.java:92)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:323)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:809)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:552)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:528)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
at org.apache.tools.ant.Main.runBuild(Main.java:614)
at org.apache.tools.ant.Main.start(Main.java:197)
at org.apache.tools.ant.Main.main(Main.java:235)




BUILD FAILED
file:/home/root/jakarta-ant/build.xml:1442: Test org.apache.tools.ant.taskdefs.InitializeClassTest failed


Total time: 3 minutes 23 seconds


Regards


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



Reply via email to