You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2002/11/07 13:51:37 UTC

Re: iSeries support

On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> You should also add iSeries (as/400) which has a file system,
> named IFS, which support symlink.

Does it create them via "ln -s"?

> Also a caracteristic of this OS is that it's IFS file system is
> case unsensitive (à la Mac or Windows)

Which may make Ant's symlink detection code invalid (comparing
absolute and canonical path).  Could you successfully run Ant's tests
with your patch on an iSeries machine?

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>The path separator on AS/400 is : so symlinks should works on it ?
> 
> 
> Without any patches, yes.

Great !!!

What I like with these 2 threads, is that we speak of iSeries under 
MacOS/X subject and Linux/test under iSeries support ;)




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> The path separator on AS/400 is : so symlinks should works on it ?

Without any patches, yes.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>What about adding the same for as/400 which is very similar to unix
>>on it's IFS file system (just to avoid making duplicate checks for
>>chmod/chgrp/symlinks....)
> 
> 
> If the path separator is : on AS/400, it should already return true in
> Os.isFamily("unix").  If the path separator is not :, you better don't
> tell Ant it was a Unix like system.

The path separator on AS/400 is : so symlinks should works on it ?





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> What about adding the same for as/400 which is very similar to unix
> on it's IFS file system (just to avoid making duplicate checks for
> chmod/chgrp/symlinks....)

If the path separator is : on AS/400, it should already return true in
Os.isFamily("unix").  If the path separator is not :, you better don't
tell Ant it was a Unix like system.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Henri Gomez <hg...@apache.org>.
Paul Cantrell wrote:
> I double-checked what Stefan said; he is indeed correct.  The following 
> is on OS X 10.2.1:
> 
> $ ant -version
> Apache Ant version 1.5 compiled on July 9 2002
> $ bsh -cp /usr/local/java/jakarta/jakarta-ant/lib/ant.jar
> BeanShell 1.2b42 - by Pat Niemeyer
> bsh % show();
> <true>
> bsh % org.apache.tools.ant.taskdefs.condition.Os.isFamily("mac");
> <true>
> bsh % org.apache.tools.ant.taskdefs.condition.Os.isFamily("unix");
> <true>
> bsh % System.getProperty("os.name");
> <Mac OS X>
> 
> I know that's not the most up-to-date version of Ant (or BeanShell, for 
> that matter), but I doubt that the results have changed.
> 
> Paul

What about adding the same for as/400 which is very similar to unix
on it's IFS file system (just to avoid making duplicate checks for
chmod/chgrp/symlinks....)

     public static boolean isOs(String family, String name, String arch,
                                String version) {
         boolean retValue = false;

         if (family != null || name != null || arch != null
             || version != null) {

             boolean isFamily = true;
             boolean isName = true;
             boolean isArch = true;
             boolean isVersion = true;

             if (family != null) {
                 if (family.equals("windows")) {
                     isFamily = osName.indexOf("windows") > -1;
                 } else if (family.equals("os/2")) {
                     isFamily = osName.indexOf("os/2") > -1;
                 } else if (family.equals("netware")) {
                     isFamily = osName.indexOf("netware") > -1;
                 } else if (family.equals("dos")) {
                     isFamily = pathSep.equals(";") && !isFamily("netware");
                 } else if (family.equals("mac")) {
                     isFamily = osName.indexOf("mac") > -1;
                 } else if (family.equals("unix")) {
		    if (osName.indexOf("mac") > -1)
                     	isFamily = pathSep.equals(":")
                         	&& (!isFamily("mac") ||
                                     osName.endsWith("x"));
		    else
			isFamily = (osName.indexOf("as/400") > -1);
                 } else if (family.equals("win9x")) {
                     isFamily = isFamily("windows") &&
                         !(osName.indexOf("nt") >= 0 ||
                           osName.indexOf("2000") >= 0 ||
                           osName.indexOf("xp") >= 0);
                 } else if (family.equals("z/os")) {
                     isFamily = osName.indexOf("z/os") > -1
                         || osName.indexOf("os/390") > -1;
                 } else if (family.equals("os/400")) {
                     isFamily = osName.indexOf("os/400") > -1;
                 } else {
                     throw new BuildException(
                         "Don\'t know how to detect os family \""
                         + family + "\"");
                 }
             }
             if (name != null) {
                 isName = name.equals(osName);
             }
             if (arch != null) {
                 isArch = arch.equals(osArch);
             }
             if (version != null) {
                 isVersion = version.equals(osVersion);
             }
             retValue = isFamily && isName && isArch && isVersion;
         }
         return retValue;
     }


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Paul Cantrell <ca...@pobox.com>.
I double-checked what Stefan said; he is indeed correct.  The following 
is on OS X 10.2.1:

$ ant -version
Apache Ant version 1.5 compiled on July 9 2002
$ bsh -cp /usr/local/java/jakarta/jakarta-ant/lib/ant.jar
BeanShell 1.2b42 - by Pat Niemeyer
bsh % show();
<true>
bsh % org.apache.tools.ant.taskdefs.condition.Os.isFamily("mac");
<true>
bsh % org.apache.tools.ant.taskdefs.condition.Os.isFamily("unix");
<true>
bsh % System.getProperty("os.name");
<Mac OS X>

I know that's not the most up-to-date version of Ant (or BeanShell, for 
that matter), but I doubt that the results have changed.

Paul


On Friday, November 8, 2002, at 01:56  AM, Stefan Bodewig wrote:

> On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
>
>> Till we're speaking of symlink, how does macos/x report itself ?
>
> Dunno exactly (would have to boot my iBook to be sure, let me know if
> you need the exact details).  I know that the symlink test passes (and
> does something) on that machine 8-)
>
>> as mac or unix ?
>
> I think os.name is something like "MacOS X".
>
> Os.isFamily("mac") and Os.isFamily("unix") will both return true.
>
> Stefan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: MacOS/X

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> Till we're speaking of symlink, how does macos/x report itself ?

Dunno exactly (would have to boot my iBook to be sure, let me know if
you need the exact details).  I know that the symlink test passes (and
does something) on that machine 8-)

> as mac or unix ?

I think os.name is something like "MacOS X".

Os.isFamily("mac") and Os.isFamily("unix") will both return true.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


MacOS/X

Posted by Henri Gomez <hg...@apache.org>.
Till we're speaking of symlink, how does macos/x report itself ?

as mac or unix ?

Regards


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>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)
> 
> 
> because I fixed it in the meantime (applying Steve's suggestion 8-).
> 
> 
>>The only problem is about fork :
> 
> 
> Again, on your Linux box?

Yes, and there is nothing special in it since ant 1.5.1 works
damn't well on it....



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 08 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

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

because I fixed it in the meantime (applying Steve's suggestion 8-).

> The only problem is about fork :

Again, on your Linux box?

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Henri Gomez wrote:
> Stefan Bodewig wrote:
> 
>> On Thu, 07 Nov 2002, Bill Burton <bi...@progress.com> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Bill Burton <bi...@progress.com> 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.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Bill Burton <bi...@progress.com> 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.

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

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Bill Burton wrote:
> 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.

IBM SDK add these parser only in Windows version, Linux version came
without any xml stuff.




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Bill Burton <bi...@progress.com>.
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 <hg...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Steve Loughran wrote:
> ----- Original Message -----
> From: "Stefan Bodewig" <bo...@apache.org>
> To: <an...@jakarta.apache.org>
> Sent: Friday, November 08, 2002 12:44 AM
> Subject: Re: iSeries support
> 
> 
> 
>>On Thu, 7 Nov 2002, Steve Loughran <st...@iseran.com> wrote:
>>
>>
>>>hah. that is something treating what should be an opaque URI as a
>>>resolvable url, which, in the absence of napster and a plugin for
>>>java it aint.
>>
>>I don't think I have installed napster and that plugin, maybe Xerces
>>2.2.0 simply deals with it different than the Xerces Henri uses (the
>>again, you never know what RedHat installs without you having asked
>>for it 8-).

Redhat didn't install anything (at least in my Redhat 7.2), but I'm 
using jpackage (www.jpackage.org) rpms to install java stuff.

BTW, as I said previously I cleared my CLASSPATH and was only using the
jars bundled with ant HEAD CVS.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Stefan Bodewig" <bo...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Friday, November 08, 2002 12:44 AM
Subject: Re: iSeries support


> On Thu, 7 Nov 2002, Steve Loughran <st...@iseran.com> wrote:
>
> > hah. that is something treating what should be an opaque URI as a
> > resolvable url, which, in the absence of napster and a plugin for
> > java it aint.
>
> I don't think I have installed napster and that plugin, maybe Xerces
> 2.2.0 simply deals with it different than the Xerces Henri uses (the
> again, you never know what RedHat installs without you having asked
> for it 8-).


default behaviour should be to treat the URIs for DTDs as opaque URIs until
they get to the resolver, whose job it is to resolve things. But this
version of xerces seems to creating java.net.URL() objects around them,
which only supports a subset of valid URIs, not including nap: uuid: or
other interesting ones.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 7 Nov 2002, Steve Loughran <st...@iseran.com> wrote:

> hah. that is something treating what should be an opaque URI as a
> resolvable url, which, in the absence of napster and a plugin for
> java it aint.

I don't think I have installed napster and that plugin, maybe Xerces
2.2.0 simply deals with it different than the Xerces Henri uses (the
again, you never know what RedHat installs without you having asked
for it 8-).

> ...we could move to using a different URI; it doesnt have to be
> resolvable, just use http:; as we dont need to expose ourselves to
> xml parser on as400 bugs.

I will change it.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Henri Gomez" <hg...@apache.org>
To: "Ant Developers List" <an...@jakarta.apache.org>
Sent: Thursday, November 07, 2002 8:59 AM
Subject: Re: iSeries support


> Stefan Bodewig wrote:
> > On Thu, 07 Nov 2002, Henri Gomez <hg...@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 ????


hah. that is something treating what should be an opaque URI as a resolvable
url, which, in the absence of napster and a plugin for java it aint. This
just shows certain implementation details; the parser is using java.net.URL
to store things that are really URIs

...we could move to using a different URI; it doesnt have to be resolvable,
just use http:; as we dont need to expose ourselves to xml parser on as400
bugs.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Henri Gomez <hg...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Henri Gomez <hg...@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.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>ok (conducting first the test on linux give me some errors in
>>XmlValidate of about.xml:
> 
> 
> Is this a fresh CVS copy of Ant?  Works for me, using Sun's JDK 1.3.1,
> though.

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



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> ok (conducting first the test on linux give me some errors in
> XmlValidate of about.xml:

Is this a fresh CVS copy of Ant?  Works for me, using Sun's JDK 1.3.1,
though.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>How do I run the tests ?
> 
> 
> ./build.sh test

ok

> You need JUnit and there is a recent version of it in Ant's CVS.

ok (conducting first the test on linux give me some errors in 
XmlValidate of about.xml:

exec => -classpath 
bootstrap/lib/optional.jar:bootstrap/lib/nodeps.jar:bootstrap/lib/ant-xslp.jar:bootstrap/lib/ant-xalan2.jar:bootstrap/lib/ant-xalan1.jar:bootstrap/lib/ant-weblogic.jar:bootstrap/lib/ant-vaj.jar:bootstrap/lib/ant-trax.jar:bootstrap/lib/ant-swing.jar:bootstrap/lib/ant-stylebook.jar:bootstrap/lib/ant-starteam.jar:bootstrap/lib/ant-oro.jar:bootstrap/lib/ant-netrexx.jar:bootstrap/lib/ant-netcomp.jar:bootstrap/lib/ant-log4j.jar:bootstrap/lib/ant-junit.jar:bootstrap/lib/ant-jmf.jar:bootstrap/lib/ant-jdepend.jar:bootstrap/lib/ant-javamail.jar:bootstrap/lib/ant.jar:bootstrap/lib/ant-jakarta-regexp.jar:bootstrap/lib/ant-jai.jar:bootstrap/lib/ant-icontract.jar:bootstrap/lib/ant-commons-logging.jar:bootstrap/lib/ant-bsf.jar:bootstrap/lib/ant-bcel.jar:bootstrap/lib/ant-apache-resolver.jar:bootstrap/lib/ant-antlr.jar:lib/xercesImpl.jar:lib/xml-apis.jar:bootstrap/lib/ant.jar:lib/optional/junit.jar::/home/root:/opt/IBMJava2-131/lib/tools.jar 
-Dant.home=bootstrap org.apache.tools.ant.Main -emacs test
Buildfile: build.xml

check_for_optional_packages:

xml-check:

dump-sys-properties:
java.vm.info=J2RE 1.3.1 IBM build cxia32131-20020622 (JIT enabled: jitc)
java.vm.name=Classic VM
java.vm.vendor=IBM Corporation
java.vm.version=1.3.1
os.arch=x86
os.name=Linux
os.version=2.4.9-34
file.encoding=ISO-8859-1
user.language=en

run-which:

dump-info:

prepare:

build:
Copying 2 files to /home/root/jakarta-ant/build/classes

compile-tests:

probe-offline:

run-tests:
Testsuite: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunnerTest
Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.047 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.junit.JUnitClassLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.001 sec

Testsuite: 
org.apache.tools.ant.taskdefs.optional.junit.JUnitVersionHelperTest
Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.013 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.PropertyFileTest
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.346 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.depend.DependTest
Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 23.747 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.EchoPropertiesTest
Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 2.065 sec

------------- Standard Output ---------------
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
------------- ---------------- ---------------
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)

....


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> How do I run the tests ?

./build.sh test

You need JUnit and there is a recent version of it in Ant's CVS.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:
> 
> 
>>You should also add iSeries (as/400) which has a file system,
>>named IFS, which support symlink.
> 
> 
> Does it create them via "ln -s"?

yes,  the iseries sh (qshell) is a subset of bash, and ln is supported

>>Also a caracteristic of this OS is that it's IFS file system is
>>case unsensitive (à la Mac or Windows)
> 
> 
> Which may make Ant's symlink detection code invalid (comparing
> absolute and canonical path).  Could you successfully run Ant's tests
> with your patch on an iSeries machine?

How do I run the tests ?



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 07 Nov 2002, Henri Gomez <hg...@apache.org> wrote:

> My devel iSeries is pretty overloaded, so I'll need to build
> it on Linux, send jars to iseries and then run test on iSeries.

Should work (but I'd guess that running the tests may cause more load
than bootstrapping Ant).

./build.sh run-single-test -Dtestcase=org.apache.tools.ant.taskdefs.optional.unix.SymlinkTest

may be an option (i.e. don't run the complete suite).

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: iSeries support

Posted by Henri Gomez <hg...@apache.org>.
> Which may make Ant's symlink detection code invalid (comparing
> absolute and canonical path).  Could you successfully run Ant's tests
> with your patch on an iSeries machine?

My devel iSeries is pretty overloaded, so I'll need to build
it on Linux, send jars to iseries and then run test on iSeries.

Is it ok ?




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>