cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael J. Sherman" <>
Subject Cannot compile cocoon
Date Fri, 15 Oct 2004 15:17:35 GMT

Hi everyone;

I grabbed down Cocoon CVS from 11am EDT Oct 15.  I have ant 1.6.2 and 
Java JDK 1.5.0.

When I attempt a './' in the cocoon-2.1/ dir, I eventually get 
this error:

Compiling 268 source files to 

as of release 1.5, 'enum' is a keyword, and may not be used as an 
(try -source 1.4 or lower to use 'enum' as an identifier)
import org.apache.commons.lang.enum.ValuedEnum;
1 error

/root/cocoon-2.1/tools/targets/compile-build.xml:210: The following 
error occurred while executing this line:
Compile failed; see the compiler error output for details.

If I try to compile the latest source release (, not CVS), I 
get this error right away:

Buildfile: build.xml

Created dir: /root/cocoon-
Compiling 5 source files to /root/cocoon-
javac: target release 1.3 conflicts with default source release 1.5

/root/cocoon- Compile failed; 
see the
compiler error output for details.

Total time: 1 second

I thought I had read in the mailing list archives that the JDK 1.5 
issues with the new keyword 'enum' had been worked out.  Can someone 
clue me in?  I need to get Cocoon installed and working, but all three 
of my varied attemps have failed (older binary release, current 
release, and CVS).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message