[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cannot compile



hi,

i'm trying to compile ozone with the following setup:

red hat linux 7.1
sun j2sdk 1.3

OZONE_HOME=/home/patrick/ozone/ozone-1.0.1
OZONE_JVM=/usr/local/java/jdk1.3/bin/java
OZONE_JAVAC=/usr/local/java/jdk1.3/bin/javac


added $OZONE_HOME/bin to the PATH
no CLASSPATH set

using 'build.sh' in $OZONE_HOME, i get:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Buildfile: build.xml
Project base dir set to: /home/patrick/ozone/ozone-1.0.1
Executing Target: init
Executing Target: prepare
Executing Target: DxLib
Compiling 63 source files to /home/patrick/ozone/ozone-1.0.1
Note: 2 files use or override a deprecated API.  Recompile with 
"-deprecation" for details.
1 warning
Executing Target: org.ozoneDB.tools
Compiling 10 source files to /home/patrick/ozone/ozone-1.0.1
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkConsumer.java:286:
Method createElementNS(java.lang.String, java.lang.String) not found in 
interface org.w3c.dom.Document.
             newElem = domFactory.createElementNS(_namespaceURI, _rawName);
                                                 ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkConsumer.java:290:
Method setAttributeNS(java.lang.String, java.lang.String, 
java.lang.String) not
found in interface org.w3c.dom.Element.
                 newElem.setAttributeNS(_atts.getURI(i), 
_atts.getQName(i), _atts.getValue(i));
                                       ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:294:
Method getNamespaceURI() not found in interface org.w3c.dom.Element.
                     uri = domLevel2 ? elem.getNamespaceURI() : "";
                                                           ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:296:
Method getLocalName() not found in interface org.w3c.dom.Element.
                     lName = domLevel2 ? elem.getLocalName() : qName;
                                                          ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:340:
Method getNamespaceURI() not found in interface org.w3c.dom.Element.
                     uri = domLevel2 ? elem.getNamespaceURI() : "";
                                                           ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:342:
Method getLocalName() not found in interface org.w3c.dom.Element.
                     lName = domLevel2 ? elem.getLocalName() : qName;
                                                          ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:461:
Method getNamespaceURI() not found in interface org.w3c.dom.Node.
             String uri = domLevel2 ? node.getNamespaceURI() : "";
                                                          ^
/home/patrick/ozone/ozone-1.0.1/org/ozoneDB/xml/util/SAXChunkProducer.java:463:
Method getLocalName() not found in interface org.w3c.dom.Node.
             String lName = domLevel2 ? node.getLocalName() : qName;
                                                         ^
Note: 3 files use or override a deprecated API.  Recompile with 
"-deprecation" for details.
8 errors, 1 warning
BUILD FATAL ERROR: Compile failed, messages should have been provided.

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


'make' results in a similar error message. using blackdown j2sdk 1.3
dito. using /usr/local/java/jdk1.3/lib/tools.jar in the CLASSPATH dito.
what's wrong?

regards,
patrick