[ http://issues.apache.org/jira/browse/COCOON-1576?page=all ] Vadim Gritsenko closed COCOON-1576: -----------------------------------
Fix Version: 2.1.8 Resolution: Invalid Cocoon requires version of jakarta-regexp which is a bit newer than 4 years, 8 months old. That's when RESyntaxException has been changed to uncheked one. Find and remove old regexp library in order to build Cocoon. > Cocoon 2.1.7 does not compile - in mysterious circumstances > ----------------------------------------------------------- > > Key: COCOON-1576 > URL: http://issues.apache.org/jira/browse/COCOON-1576 > Project: Cocoon > Type: Bug > Components: - Components: Avalon > Versions: 2.1.7 > Environment: Operating System: Windows 2000 > Platform: PC > Reporter: Christian Sy > Assignee: Cocoon Developers Team > Fix For: 2.1.8 > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira