You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Sam Ruby <ru...@us.ibm.com> on 2001/09/14 13:09:26 UTC

[GUMP] Build Failure - Xerces2

----------------------------------------------------
This email is autogenerated from the output from:
<http://jakarta.apache.org/builds/gump/2001-09-14/xml-xerces2.html>
----------------------------------------------------

Buildfile: build.xml

init:
     [echo] ---------------- Xerces-J 2.0.0 (beta2) [1999-2001] ---------------

prepare:
    [mkdir] Created dir: /home/rubys/jakarta/xml-xerces2/java/build

prepare-src:
    [mkdir] Created dir: /home/rubys/jakarta/xml-xerces2/java/build/src
    [mkdir] Created dir: /home/rubys/jakarta/xml-xerces2/java/build/classes
    [mkdir] Created dir: /home/rubys/jakarta/xml-xerces2/java/build/classes/META-INF
    [mkdir] Created dir: /home/rubys/jakarta/xml-xerces2/java/build/classes/META-INF/services
     [copy] Copying 1 file to /home/rubys/jakarta/xml-xerces2/java/build/classes/META-INF/services
     [copy] Copying 1 file to /home/rubys/jakarta/xml-xerces2/java/build/classes/META-INF/services
     [copy] Copying 448 files to /home/rubys/jakarta/xml-xerces2/java/build/src

compile:
     [copy] Copying 3 files to /home/rubys/jakarta/xml-xerces2/java/build/classes
    [javac] Compiling 434 source files to /home/rubys/jakarta/xml-xerces2/java/build/classes
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:113: The method Node getLastChild() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in interface org.w3c.dom.Node.  They must have the same return type.	
    [javac] public class CoreDocumentImpl
    [javac]              ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:113: The method NodeList getChildNodes() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in interface org.w3c.dom.Node.  They must have the same return type.	
    [javac] public class CoreDocumentImpl
    [javac]              ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:113: The method Node getFirstChild() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in interface org.w3c.dom.Node.  They must have the same return type.	
    [javac] public class CoreDocumentImpl
    [javac]              ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:161: The method Node cloneNode(boolean) declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.ChildNode.  They must have the same return type.	
    [javac]      * the gain appears to be really small compared to the cost of having
    [javac]           ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:195: The method Document getOwnerDocument() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]         kidOK[ENTITY_REFERENCE_NODE] =
    [javac]     ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:203: The method CoreDocumentImpl ownerDocument() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]             1 << CDATA_SECTION_NODE | 1 << ENTITY_REFERENCE_NODE ;
    [javac]                                   ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:247: The method NodeList getChildNodes() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]                 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR,
    [javac]                                                                        ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:257: The method Node getFirstChild() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]     // even though ownerDocument refers to this in this implementation
    [javac]                   ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:267: The method Node getLastChild() declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]     /** Returns the node type. */
    [javac]                                ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:282: The method org.w3c.dom.Document getOwnerDocument() declared in class org.apache.xerces.dom.CoreDocumentImpl cannot override the method of the same signature declared in class org.apache.xerces.dom.ParentNode.  They must have the same return type.	
    [javac]     final public Document getOwnerDocument() {
    [javac]                           ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:305: The method org.w3c.dom.Node cloneNode(boolean) declared in class org.apache.xerces.dom.CoreDocumentImpl cannot override the method of the same signature declared in class org.apache.xerces.dom.ParentNode.  They must have the same return type.	
    [javac]     public Node cloneNode(boolean deep) {
    [javac]                 ^
    [javac] /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:766: The method Node item(int) declared in class org.apache.xerces.dom.ParentNode cannot override the method of the same signature declared in class org.apache.xerces.dom.NodeImpl.  They must have the same return type.	
    [javac]      * Overloaded implementation of DOM's importNode method. This method
    [javac]                                                                         ^
    [javac] 12 errors

BUILD FAILED

/home/rubys/jakarta/xml-xerces2/java/build.xml:162: Compile failed, messages should have been provided.

Total time: 53 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: [GUMP] Build Failure - Xerces2

Posted by Arnaud Le Hors <le...@us.ibm.com>.
Well, I couldn't quite understand what the pb is but it comes from the
use of an inner class. So I moved the class out and it seems to have
solved the pb.
-- 
Arnaud  Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: [GUMP] Build Failure - Xerces2

Posted by Arnaud Le Hors <le...@us.ibm.com>.
Andy Clark wrote:
> 
> Sam Ruby wrote:
> /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:113:
> The method Node getLastChild() declared in class
> org.apache.xerces.dom.ParentNode cannot override the method of the same
> signature declared in interface org.w3c.dom.Node.  They must have the
> same return type.
> 
> Arnaud, do you think this is a classpath issue in our Ant
> build file? Because it definitely compiles with javac --
> I was able to do it on the command line but not by running
> the Ant build.

I can't look at this for another couple of hours but this error seems
really bogus to me. There is no such error in the code. I don't think it
comes from a classpath pb either. It looks like a compiler bug to me.
I'll have a look at it later on. If somebody looks at it in the
meantime, let me know if you've found anything.
-- 
Arnaud  Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: [GUMP] Build Failure - Xerces2

Posted by Andy Clark <an...@apache.org>.
Sam Ruby wrote:
/home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/CoreDocumentImpl.java:113:
The method Node getLastChild() declared in class
org.apache.xerces.dom.ParentNode cannot override the method of the same
signature declared in interface org.w3c.dom.Node.  They must have the
same return type.

Arnaud, do you think this is a classpath issue in our Ant 
build file? Because it definitely compiles with javac --
I was able to do it on the command line but not by running
the Ant build.

-- 
Andy Clark * IBM, TRL - Japan * andyc@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org