Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 30885 invoked from network); 6 Oct 2004 22:05:08 -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:05:08 -0000 Received: (qmail 19554 invoked by uid 500); 6 Oct 2004 22:05:04 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 19418 invoked by uid 500); 6 Oct 2004 22:05:03 -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 19403 invoked by uid 99); 6 Oct 2004 22:05:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Oct 2004 15:05:02 -0700 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id i96M4wZw005191 for ; Wed, 6 Oct 2004 16:04:58 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id i96M4wTb005190; Wed, 6 Oct 2004 16:04:58 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 80.219.8.172 (SquirrelMail authenticated user agallardo); by agssa.net with HTTP; Wed, 6 Oct 2004 16:04:58 -0600 (CST) Message-ID: <33448.80.219.8.172.1097100298.squirrel@80.219.8.172> Date: Wed, 6 Oct 2004 16:04:58 -0600 (CST) Subject: Compile Cocoon with java 1.5 From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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.... After commenting the blocks: cforms, apples and javaflow. Everything compiles and seems to run. I still don't try the new features sported by 1.5. I am happy we are doing the first steps in this new java chapter. ;-) Best Regards, Antonio Gallardo