Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 34571 invoked from network); 6 Oct 2004 22:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Oct 2004 22:13:39 -0000 Received: (qmail 40667 invoked by uid 500); 6 Oct 2004 22:13:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 40517 invoked by uid 500); 6 Oct 2004 22:13:17 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 40370 invoked by uid 99); 6 Oct 2004 22:13:15 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [160.94.23.21] (HELO mtaout-m.tc.umn.edu) (160.94.23.21) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Oct 2004 15:13:14 -0700 Received: from [192.168.1.103] (c-66-41-17-234.mn.client2.attbi.com [66.41.17.234]) by mtaout-m.tc.umn.edu with ESMTP for dev@cocoon.apache.org; Wed, 6 Oct 2004 17:13:07 -0500 (CDT) X-Umn-Remote-Mta: [N] c-66-41-17-234.mn.client2.attbi.com [66.41.17.234] #+TS+AU+HN Message-ID: <41646DF1.8090500@umn.edu> Date: Wed, 06 Oct 2004 17:13:05 -0500 From: Tony Collen User-Agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Compile Cocoon with java 1.5 References: <33448.80.219.8.172.1097100298.squirrel@80.219.8.172> In-Reply-To: <33448.80.219.8.172.1097100298.squirrel@80.219.8.172> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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