I have successfully built Cocoon 2.1.7-dev (155695) on
Fedora Core 3 using jdk1.5 and the various
init-tasks.xml / local.build.properties edits
mentioned on this mailing list.
I am now trying to reproduce this build on
Windows/2000 Professional. After making all the
appropriate edits (source="1.4", target="1.5"), I run
the build war command.
It fails during compile with the following:
Buildfile: build.xml
prepare:
======================================================================
Apache Cocoon 2.1.7-dev [1999-2005]
======================================================================
Building with Apache Ant version 1.6.2 compiled on
July 16 2004
----------------------------------------------------------------------
Using build file C:\src\cocoon-current\build.xml
----------------------------------------------------------------------
Compiler options:
- debug ......... [on]
- optimize ...... [on]
- deprecation ... [off]
======================================================================
Created dir:
C:\src\cocoon-current\build\cocoon-2.1.7-dev
compile-mocks:
Created dir:
C:\src\cocoon-current\build\cocoon-2.1.7-dev\mocks
Compiling 2 source files to
C:\src\cocoon-current\build\cocoon-2.1.7-dev\mocks
compile-core:
Copying 18 files to
C:\src\cocoon-current\build\cocoon-2.1.7-dev\classes
Copied 60 empty directories to 34 empty directories
under
C:\src\cocoon-current\build\cocoon-2.1.7-dev\classes
Compiling 545 source files to
C:\src\cocoon-current\build\cocoon-2.1.7-dev\classes
C:\src\cocoon-current\src\java\org\apache\cocoon\xml\dom\DocumentWrapper.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
One solution is to compile on Linux and use that war
under Tomcat 5.5.7 on Windows/2000 Professional. It's
a hack, but it seems to work.
I would like to be able to build this on Windows,
however.
Thoughts, solutions, and feedback greatly appreciated.
/mde/
just my two cents . . . .
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]