cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
Subject Re: Compile Cocoon with java 1.5
Date Wed, 06 Oct 2004 22:13:05 GMT
Antonio Gallardo wrote:
> Hi:
> 
> I am trying to compile Cocoon with jdk1.5.0. I already committed some
> changes until I meet this one:
> 
> /cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22:
> as of release 1.5, 'enum' is a keyword, and may not be used as an
> identifier
> (try -source 1.4 or lower to use 'enum' as an identifier)
> import org.apache.commons.lang.enum.ValuedEnum;
> 
> Seems like commons-lang need to be refactored? Or is this a java bug? Note
> this is inside a import statement. I need to read the 1.5 reference
> first....

enum is a new type in 1.5 (yay!!)

if you dig around the archives you'll find some changes got made already 
with respect to this problem (fairly recently, too). not  sure if they 
all got caught or not.  if so, cvs update! :)

Tony


Mime
View raw message