You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Robert Schmid <ro...@fourthgen.com> on 2000/11/09 17:21:17 UTC
Problems compiling
I can't get the latest repository to build - it keeps barfing on w3c/dom
classes from xml.jar. I've tried various solutions of moving the xml.jar,
comparing my current xml.jar to the one included in cvs and so on. I
noticed that xml.jar was not listed in the local classpath of build.bat.
I loaded microsoft's latest security patch to their JVM but I don't think
that is relevant.
Ideas?
Here's my CLASSPATH
CLASSPATH=D:\jdk\lib\ant.jar;D:\jdk\lib\bsf.jar;D:\jdk\lib\bsfengines.jar;D:\jdk\lib\cocoon.jar;D:\jdk\lib\dt.jar;D:\jdk\lib\fop.jar;D:\jdk\lib\jasper.jar;D:\jdk\lib\jaxp.jar;D:\jdk\lib\parser.jar;D:\jdk\lib\servlet_2_2.jar;D:\jdk\lib\tools.jar;D:\jdk\lib\turbine-pool.jar;D:\jdk\lib\w3c.jar;D:\jdk\lib\webserver.jar;D:\jdk\lib\xalan.jar;D:\jdk\lib\xerces.jar;D:\jdk\lib\xml.jar;D:\jdk\lib\
Fop Build System
----------------
Building with classpath
D:\jdk\lib\tools.jar;D:\jdk\lib\classes.zip;lib\ant.jar;lib\w3c.jar;lib
Starting Ant...
Buildfile: build.xml
[chmod] The src attribute is deprecated. Please use the file attribute.
[chmod] The src attribute is deprecated. Please use the file attribute.
init:
------------------- Fop 0.15cvs [1999-2000] ----------------
prepare:
Preparing the build directories
codegen:
Resetting codegen directory
Generating the java files from xml resources
prepare-xt:
prepare-jimi:
prepare-src:
compile:
Compiling the sources
[javac] Compiling 2 source files to D:\src\xml-fop\build\classes
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:321:
Method getNamespaceURI() not found in interface org.w3c.dom.Attr.
[javac]
currentAtts.addAttribute(att.getNamespaceURI(),
[javac] ^
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:322:
Method getLocalName() not found in interface org.w3c.dom.Attr.
[javac] att.getLocalName(),
[javac] ^
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:328:
Method getNamespaceURI() not found in interface org.w3c.dom.Node.
[javac] currentNode.getNamespaceURI(),
currentNode.getLocalName(), currentNode.getNodeName(), currentAtts);
[javac] ^
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:328:
Method getLocalName() not found in interface org.w3c.dom.Node.
[javac] currentNode.getNamespaceURI(),
currentNode.getLocalName(), currentNode.getNodeName(), currentAtts);
[javac]
^
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:345:
Method getNamespaceURI() not found in interface org.w3c.dom.Node.
[javac] currentNode.getNamespaceURI(),
currentNode.getLocalName(), currentNode.getNodeName());
[javac] ^
[javac] D:\src\xml-fop\build\src\org\apache\fop\apps\Driver.java:345:
Method getLocalName() not found in interface org.w3c.dom.Node.
[javac] currentNode.getNamespaceURI(),
currentNode.getLocalName(), currentNode.getNodeName());
[javac]
^
[javac]
D:\src\xml-fop\build\src\org\apache\fop\render\pdf\PDFRenderer.java:2309:
Method getElementById(java.lang.String) not found in interface
org.w3c.dom.Document.
[javac] Element ele =
doc.getElementById(ref.substring(1, ref.length()));
[javac] ^
[javac]
D:\src\xml-fop\build\src\org\apache\fop\render\pdf\PDFRenderer.java:2323:
Method getElementById(java.lang.String) not found in interface
org.w3c.dom.svg.SVGDocument.
[javac] Element ele =
doc.getElementById(ref.substring(pos + 1, ref.length()));
[javac]
^
[javac] 8 errors
BUILD FAILED
build.xml:337: Compile failed
Total time: 12 seconds