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

Re: Problems while compiling Ozone 0.5.4




Hi Ronald,

On Mit, 16 Aug 2000, you wrote:
> Hello,
> 
> I try to compile the Ozone-DB 0.5.4 with Java 1.3 form IBM (on WinNT). I use 'ant' on the command line and I see the following output:
> 
> C:\jclasses\ozone-0.5.4>ant
> Buildfile: build.xml
> Project base dir set to: C:\jclasses\ozone-0.5.4
> Executing Target: init
> Executing Target: prepare
> Executing Target: DxLib
> Compiling 62 source files to C:\jclasses\ozone-0.5.4
> Note: 2 files use or override a deprecated API.  Recompile with "-deprecation" for details.
> 1 warning
> Executing Target: org.ozoneDB.tools
> Compiling 16 source files to C:\jclasses\ozone-0.5.4
> Note: 3 files use or override a deprecated API.  Recompile with "-deprecation" for details.
> 1 warning
> Executing Target: org.ozoneDB.tools.OPP
> Compiling 18 source files to C:\jclasses\ozone-0.5.4
> Note: 5 files use or override a deprecated API.  Recompile with "-deprecation" for details.
> 1 warning
> Executing Target: tools
> Executing Target: server
> Compiling 26 source files to C:\jclasses\ozone-0.5.4
> Executing Target: odmg
> Compiling 40 source files to C:\jclasses\ozone-0.5.4
> Executing Target: xa
> Compiling 1 source files to C:\jclasses\ozone-0.5.4
> Executing Target: blob
> Compiling 6 source files to C:\jclasses\ozone-0.5.4
> [exec] org.ozoneDB.blob.BLOBPageImpl:
> [exec]    creating ./org/ozoneDB/blob\BLOBPageImpl_Proxy.java ...
> [exec]    update methods:
> [exec]       trying to process BLOBPage.java... (./org/ozoneDB/blob\BLOBPage.java)
> [exec]       trying to process BLOBPageImpl.ocd... no descriptor file found.
> [exec]       write ("[B|int")
> [exec]       init ("int")
> [exec] org.ozoneDB.blob.BLOBContainerImpl:
> [exec]    creating ./org/ozoneDB/blob\BLOBContainerImpl_Proxy.java ...
> [exec]    update methods:
> [exec]       trying to process BLOBContainer.java... (./org/ozoneDB/blob\BLOBContainer.java)
> [exec]       trying to process BLOBContainerImpl.ocd... no descriptor file found.
> [exec]       write ("int|[B|int|int")
> [exec]       init ("int")
> Executing Target: xml
> Compiling 57 source files to C:\jclasses\ozone-0.5.4
> C:\jclasses\ozone-0.5.4\org\ozoneDB\xml\dom\AttrImpl.java:58: class org.ozoneDB.xml.dom.AttrImpl must be declared abstract. It does
> not define void setPrefix(java.lang.String) from interface org.w3c.dom.Node.
> public final class AttrImpl extends NodeImpl
>                    ^
> C:\jclasses\ozone-0.5.4\org\ozoneDB\xml\dom\AttrImpl.java:58: class org.ozoneDB.xml.dom.AttrImpl must be declared abstract. It does
> not define boolean supports(java.lang.String, java.lang.String) from interface org.w3c.dom.Node.
> public final class AttrImpl extends NodeImpl
>                    ^
> C:\jclasses\ozone-0.5.4\org\ozoneDB\xml\dom\AttrImpl.java:58: class org.ozoneDB.xml.dom.AttrImpl must be declared abstract. It does
> not define void normalize() from interface org.w3c.dom.Node.
> public final class AttrImpl extends NodeImpl
>                    ^
> C:\jclasses\ozone-0.5.4\org\ozoneDB\xml\dom\AttrImpl.java:58: class org.ozoneDB.xml.dom.AttrImpl must be declared abstract. It does
> not define java.lang.String getLocalName() from interface org.w3c.dom.Node.
> public final class AttrImpl extends NodeImpl
> 
> ---cut---
> 
> The compile-process will be terminate with errors.
> 
> I have following environment-variables set:
> Classpath=c:\jclasses\ozone-0.5.4;.\.;
> java_home=c:\java13
> ozone_home=c:\jclasses\ozone-0.5.4
> Ozone_javac=c:\java13\bin\javac
> 
> Can anyone help me?

OzoneXML implements the W3C DOM Level 1 interface. The w3c-dom.jar contains
this API. The Apache Xerces (xerces.jar) implements W3C DOM Level 2 and comes
with the needed W3C DOM Level 2 interfaces. If you want to compile the ozone
sources you have to ensure that w3c-dom.jar is loaded _before_ xerces.jar. This
is realised in build.xml - where w3c-dom.jar is added to the classpath befor
xerces.jar.

Are you sure that you don't have set any other CLASSPATH environment? 

> Thanks.
> 
> 
> Greetings from Frankfurt/Main (Germany)
> Ronald
> 
> _______________________________________________________________________
> 1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
> IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de

Regards,
Lars
-- 
___________________________________________________________________
Lars Martin                                 mailto:lars@smb-tec.com
SMB GmbH                                     http://www.smb-tec.com