I'm new to Cocoon and I'm trying to build the latest "stable" version
(2.1.10) from the sources I downloaded.  I am following the steps in the
INSTALL.txt file and when I run the "build" batch file (on Windows XP SP2
using Sun JDK 1.5.0_04), I get the following error:
---
Compiling 594 source files to C:\cocoon\cocoon-2.1.10\build\cocoon\classes
C:\cocoon\cocoon-2.1.10\src\java\org\apache\cocoon\components\flow\javascript\fo
m\FOM_JavaScriptInterpreter.java:663: unreported exception
org.apache.regexp.RES
yntaxException; must be caught or declared to be thrown
    REProgram encodingRE = new
RECompiler().compile("^.*encoding\\s*=\\s*([^\\s]
*)");
                                                   ^
1 error

BUILD FAILED
C:\cocoon\cocoon-2.1.10\tools\targets\compile-build.xml:68: The following
error
occurred while executing this line:
C:\cocoon\cocoon-2.1.10\tools\targets\compile-build.xml:51: Compile failed;
see
the compiler error output for details.
---

Any hints on what I should do about this?  The problem line in the source
code is not even contained in a method, so I'm not sure how to deal with the
unreported exception.

Thanks for any help you can offer.
Chris

-- 
View this message in context: 
http://www.nabble.com/Error-building-Cocoon-2.1.10-from-source-tf4761401.html#a13617217
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to