2.in the same dir ,compile-build.xml samples-build.xml find the javac statement,add one line source="1.4" below target="xxxx"
3.in tools/src/blocks-build.xsl do the same to step 2.
hope this helped
Johnson
----- Original Message ----- From: "News Hunter" <[EMAIL PROTECTED]>
To: <users@cocoon.apache.org>
Sent: Monday, January 03, 2005 4:37 PM
Subject: Re: Cocoon 2.1.6
i use jdk1.5 to compile cocoon 2.1.6 with the lines belove and get this error.
build.properties
compiler=modern compiler.debug=on compiler.optimize=on compiler.deprecation=off compiler.nowarn=on source.vm=1.3 target.vm=1.5
compile-core:
Copying 18 files to K:\repository\programming\cocoon-2.1.6\build\cocoon-2.1.6\cl
asses
Copied 60 empty directories to 33 empty directories under K:\repository\programm
ing\cocoon-2.1.6\build\cocoon-2.1.6\classes
Created dir: K:\repository\programming\cocoon-2.1.6\build\cocoon-2.1.6\mocks
Compiling 1 source file to K:\repository\programming\cocoon-2.1.6\build\cocoon-2
.1.6\mocks
Compiling 541 source files to K:\repository\programming\cocoon-2.1.6\build\cocoo
n-2.1.6\classes
K:\repository\programming\cocoon-2.1.6\src\java\org\apache\cocoon\xml\dom\Docume
ntWrapper.java:48: org.apache.cocoon.xml.dom.DocumentWrapper is not abstract and
does not override abstract method normalizeDocument() in org.w3c.dom.Document
public class DocumentWrapper implements org.w3c.dom.Document, XMLizable {
^
1 error
BUILD FAILED
K:\repository\programming\cocoon-2.1.6\tools\targets\compile-build.xml:62: Compi
le failed; see the compiler error output for details.
-----------------------
-News Hunter-
-----------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]