cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Butler, Mark H (Labs Bristol)" <mark-h.but...@hp.com>
Subject RE: Maintaining DELI, building Cocoon
Date Fri, 24 Jun 2005 10:52:18 GMT
Hello Antonio, team

More on this, I downloaded the the Java 1.4.2_08 SDK, and I can build
Cocoon successfully with this. 

So just to check, I did a build clean, and switched back to Java
1.4.2_06, but it failed again.

It looks like you have a 1.4.2_08 (or maybe 1.4.2_07) dependency, so I
doubt very much whether it will work with 1.3.X

anyway at least I can start work now ..

cheers, Mark

-----Original Message-----
From: Butler, Mark H (Labs Bristol) 
Sent: 24 June 2005 10:55
To: dev@cocoon.apache.org
Subject: Maintaining DELI, building Cocoon

Hello team

Sorry not to be in touch in a while. Someone has been asking me to
update the DELI block in Cocoon. I hope to do this soon, but at the
moment I'm experiencing trouble building Cocoon. I wanted to flag this
because other people trying to do a clean build may be experiencing
similar problems. 

First I grabbed the 2.1.7 release and tried to build it - this failed, I
got

compile-core:
Copying 18 files to C:\svn\cocoon-2.1.7\build\cocoon-2.1.7\classes
Copied 60 empty directories to 32 empty directories under
C:\svn\cocoon-2.1.7\build\cocoon-2.1.7\classes
Compiling 547 source files to
C:\svn\cocoon-2.1.7\build\cocoon-2.1.7\classes
C:\svn\cocoon-2.1.7\src\java\org\apache\cocoon\components\flow\javascrip
t\fom\FOM_JavaScriptInterpreter.java:668: unreported exception
org.apache.regexp.RESyntaxException; must be caught or declared to be
thrown
    REProgram encodingRE = new
RECompiler().compile("^.*encoding\\s*=\\s*([^\\s]*)");
                                                   ^
1 error

BUILD FAILED
C:\svn\cocoon-2.1.7\tools\targets\compile-build.xml:61: Compile failed;
see the compiler error output for details.

then I tried to get the latest version out of trunk in SVN, same problem

compile-core:
Created dir: C:\svn\cocoon\build\cocoon\classes
Copying 20 files to C:\svn\cocoon\build\cocoon\classes
Copied 71 empty directories to 40 empty directories under
C:\svn\cocoon\build\cocoon\classes
Compiling 621 source files to C:\svn\cocoon\build\cocoon\classes
C:\svn\cocoon\src\java\org\apache\cocoon\components\flow\javascript\fom\
FOM_JavaScriptInterpreter.java:523: unreported e xception
org.apache.regexp.RESyntaxException; must be caught or declared to be
thrown
    REProgram encodingRE = new
RECompiler().compile("^.*encoding\\s*=\\s*([^\\s]*)");
                                                   ^
1 error

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

Total time: 16 seconds

C:\svn\cocoon>java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

as you can see I'm using Java 1.4.2_06, it should build against this,
right?

Any suggestions?

Mark H. Butler, PhD
mark-h.butler@hp.com
HP Labs Bristol http://www.hpl.hp.com/people/marbut

Mime
View raw message