Does anyone know what DOM classes 1.0 is supposed to be built with?  The
build instructions to not indicate to download the dom2-20000307.jar from
blackwood anymore.  The DOM which comes with the JDK I'm building with (IBM
JDK 1.3) is in the xerces.jar and is Xerces 3.0.1.  So far, webclient 1.0
does not build with either of these due to some function name changes
(getCurrentTarget() is now getCurrentNode() and getTarget() or so it
seems).  This is the source of the compile errors.  If someone could tell me
which DOM classes I should be building with it would be much appreciated.

Thanks,
Scott

Scott D DeWitt wrote:

> All:
>
> I'm attempting to build webclient 1.0 source on a Win2K machine.  I have
> successfully built and run the Mozilla M18 source.  I extract the
> webclient 1.0 source over it and set my environment as specified.  I
> then go to $MOZILLA/java and run nmake /f Makefile.win and get an error
> that EventImpl needs to implement an extra method to comply with the
> interface specification.  Anyone run into this or have a solution?
>
> Compile output is below.
>
> Thanks,
> Scott
>
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> +++ make: export in C:\packages\mozilla\build\mozilla\java\external
> +++ make: export in C:\packages\mozilla\build\mozilla\java\util
> +++ make: export in C:\packages\mozilla\build\mozilla\java\util\classes
> +++ make: building package: org\mozilla\util
> +++ make: export in C:\packages\mozilla\build\mozilla\java\dom
> +++ make: export in C:\packages\mozilla\build\mozilla\java\dom\classes
> +++ make: building package: org\mozilla\dom
> +++ make: building package: org\mozilla\dom\events
> EventImpl.java:39: org.mozilla.dom.events.EventImpl should be declared
> abstract;
>  it does not define getCurrentNode() in org.mozilla.dom.events.EventImpl
>
> public class EventImpl implements Event {
>        ^
> 1 error
> +++ make: building package: org\mozilla\dom\util
> +++ make: export in C:\packages\mozilla\build\mozilla\java\dom\src
> +++ make: exporting headers
> +++ make: export in C:\packages\mozilla\build\mozilla\java\dom\jni
> Error: Class org.mozilla.dom.events.EventImpl could not be found.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\IBM\Java13\bin\javah' : return
> code '0xf
> '
> Stop.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' :
> return co
> de '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' :
> return co
> de '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' :
> return co
> de '0x2'
> Stop.


Reply via email to