DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36251>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36251 Summary: Compiling Cocoon 2.1.7 not possible with JDK 1.4.1_01 Product: Cocoon 2 Version: 2.1.7 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: minor Priority: P5 Component: general components AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hello, I unzipped Cocoon 2.1.7 and then called the build.bat. My JAVA_ROOT pointed to JDK 1.4.1_01. Compiling with JDK 1.4.1_01 gave following error (had to compile with 1.3.1, and later tried 1.4.2, works also, so the problem is not very important probably) Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\prg\dev\cocoon>build Buildfile: build.xml init-tasks: Created dir: C:\prg\dev\cocoon\tools\anttasks Compiling 5 source files to C:\prg\dev\cocoon\tools\anttasks Created dir: C:\prg\dev\cocoon\tools\loader Compiling 1 source file to C:\prg\dev\cocoon\tools\loader prepare: ====================================================================== Apache Cocoon 2.1.7 [1999-2005] ====================================================================== Building with Apache Ant version 1.6.2 compiled on July 16 2004 ---------------------------------------------------------------------- Using build file C:\prg\dev\cocoon\build.xml ---------------------------------------------------------------------- Compiler options: - debug ......... [on] - optimize ...... [on] - deprecation ... [off] ====================================================================== Created dir: C:\prg\dev\cocoon\build\cocoon-2.1.7 compile-mocks: Created dir: C:\prg\dev\cocoon\build\cocoon-2.1.7\mocks Compiling 5 source files to C:\prg\dev\cocoon\build\cocoon-2.1.7\mocks compile-core: Copying 18 files to C:\prg\dev\cocoon\build\cocoon-2.1.7\classes Copied 60 empty directories to 37 empty directories under C:\prg\dev\cocoon\buil d\cocoon-2.1.7\classes Compiling 547 source files to C:\prg\dev\cocoon\build\cocoon-2.1.7\classes C:\prg\dev\cocoon\src\java\org\apache\cocoon\components\flow\javascript\fom\FOM_ JavaScriptInterpreter.java:668: unreported exception org.apache.regexp.RESyntaxE xception; must be caught or declared to be thrown REProgram encodingRE = new RECompiler().compile("^.*encoding\\s*=\\s*([^\\s] *)"); ^ 1 error BUILD FAILED C:\prg\dev\cocoon\tools\targets\compile-build.xml:61: Compile failed; see the co mpiler error output for details. Regards, Christian Sy Magicon Systems GmbH -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
