ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Burton <bi...@progress.com>
Subject Re: iSeries support
Date Thu, 07 Nov 2002 20:24:00 GMT
Hello,

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.  You could 
try adding an -extdir option to pointing to an empty directory and then 
run the tests.  Not sure how you would specify that to the script. 
Someone else can help you with that.

-Bill

Henri Gomez wrote:
> Stefan Bodewig wrote:
> 
>> On Thu, 07 Nov 2002, Henri Gomez <hgomez@apache.org> wrote:
>>
>>
>>> Make a checkout this morning (CET) and applied my os/400 patches, so
>>> it's pretty fresh only diff I'm using IBM SDK 1.3.1 on my Redhat 7.2
>>
>>
>>
>> Hmm,
>>
>> just emptied my CLASSPATH, did ./bootstrap.sh followed by ./build.sh 
>> test and everything passes - RedHat 7.3 that is.
> 
> 
> Does the same and got the same error ;[
> 
> What's the error :
> 
> java.net.MalformedURLException: unknown protocol: nap ????
> 
> --->
> 
> Testsuite: org.apache.tools.ant.taskdefs.optional.XmlValidateTest
> Tests run: 7, Failures: 0, Errors: 5, Time elapsed: 1.976 sec
> 
> Testcase: 
> testXmlCatalogNested(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
> Caused an ERROR
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
> file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml:29: 
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalogNested(XmlValidateTest.java:139)

> 
>     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)
> --- Nested Exception ---
> java.net.MalformedURLException: unknown protocol: nap
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java:357)
>     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
> Source)
>     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:409)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalogNested(XmlValidateTest.java:139)

> 
>     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)
> 
> 
> Testcase: 
> testXmlCatalogFiles(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
> Caused an ERROR
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
> file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml:43: 
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalogFiles(XmlValidateTest.java:132)

> 
>     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)
> --- Nested Exception ---
> java.net.MalformedURLException: unknown protocol: nap
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java:357)
>     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
> Source)
>     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:409)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalogFiles(XmlValidateTest.java:132)

> 
>     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)
> 
> 
> Testcase: 
> testXmlCatalog(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
> Caused an ERROR
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
> file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml:19: 
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalog(XmlValidateTest.java:121)

> 
>     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)
> --- Nested Exception ---
> java.net.MalformedURLException: unknown protocol: nap
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java:357)
>     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
> Source)
>     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:409)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalog(XmlValidateTest.java:121)

> 
>     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)
> 
> 
> Testcase: 
> testDeepValidate(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
> Caused an ERROR
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
> file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/validate.xml:5: 
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.taskdefs.Ant.execute(Ant.java:373)
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testDeepValidate(XmlValidateTest.java:114)

> 
>     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)
> --- Nested Exception ---
> java.net.MalformedURLException: unknown protocol: nap
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java:357)
>     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
> Source)
>     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:409)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.taskdefs.Ant.execute(Ant.java:373)
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testDeepValidate(XmlValidateTest.java:114)

> 
>     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)
> 
> 
> Testcase: 
> testValidate(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
> Caused an ERROR
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
> file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml:5: 
> Could not validate document 
> /home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testValidate(XmlValidateTest.java:106)

> 
>     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)
> --- Nested Exception ---
> java.net.MalformedURLException: unknown protocol: nap
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java(Compiled Code))
>     at java.net.URL.<init>(URL.java:357)
>     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>     at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
> Source)
>     at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
> Source)
>     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:409)

> 
>     at 
> org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)

> 
>     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.BuildFileTest.executeTarget(BuildFileTest.java:254)
>     at 
> org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testValidate(XmlValidateTest.java:106)

> 
>     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)
> 
> 
> 
> 
> 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message