Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 55361 invoked from network); 30 May 2006 05:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 05:12:21 -0000 Received: (qmail 49024 invoked by uid 500); 30 May 2006 05:12:17 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 48644 invoked by uid 500); 30 May 2006 05:12:16 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 48633 invoked by uid 99); 30 May 2006 05:12:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 22:12:16 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mwessendorf@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 22:12:13 -0700 Received: by ug-out-1314.google.com with SMTP id q2so172732uge for ; Mon, 29 May 2006 22:11:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qOKTyOVvarSM1Ng1Hcrrx+rxnba+fMZMu3FLvaDGSIToCkrOR3AEiZmZuPgE5FMNPlGdKwKTlkzdVNnzrX32EGZpGOGGG2zPpYxYO/TKfCVeToWJfQjQAdbQutseb4UsvRu70YOnRzfH5RaXTgUj7u9jepFzTrjsryQdzNU/Q3Q= Received: by 10.67.101.10 with SMTP id d10mr2430079ugm; Mon, 29 May 2006 22:11:41 -0700 (PDT) Received: by 10.67.101.17 with HTTP; Mon, 29 May 2006 22:11:41 -0700 (PDT) Message-ID: <71235db40605292211r7a0eb41egbe4a2961bfc2d909@mail.gmail.com> Date: Tue, 30 May 2006 07:11:41 +0200 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: "MyFaces Discussion" , mmarinschek@apache.org Subject: Re: Maven Build - Problems with java 1.5 In-Reply-To: <5a99335f0605291201t7372b7a0u5d33dc4764646c5d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45ac42bc0605290101k1efda53ele7fecbb1aee7d627@mail.gmail.com> <71235db40605290304u3de2848dqbcd233fde2c5ae5d@mail.gmail.com> <45ac42bc0605291052g71355664r771c42ecf7a409cc@mail.gmail.com> <5a99335f0605291201t7372b7a0u5d33dc4764646c5d@mail.gmail.com> X-Google-Sender-Auth: ffdb3f81665fbb17 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Build works for me. Martin/Stan fixed the Java5 issue. -Matthias On 5/29/06, Martin Marinschek wrote: > Hi Sven, > > it should be fixed again - care to try? > > regards, > > Martin > > On 5/29/06, Sven Haiges wrote: > > :-) Good to know. Will do a fresh checkout tomorrow and try it again. > > > > Thanx! > > Sven > > > > > > On 5/29/06, Matthias Wessendorf < matzew@apache.org> wrote: > > > Hi Sven, > > > > > > figured out the same on the *daily* update. > > > Reason is that now Java5 (by accident...?) is used during Stan's JSF > > > 1.2 update... > > > > > > Stay tuned... > > > > > > -Matthias > > > > > > On 5/29/06, Sven Haiges wrote: > > > > Hi, > > > > > > > > I am trying to build myfaces with maven, check out of myfaces-current > > was > > > > successful, but maven install does not compile the sources as there are > > java > > > > 1.5 elements in the code. I changed the settings in the maven/master-pom > > to > > > > source/target 1.5, but maven still complains. > > > > > > > > Here is Maven's complaint: > > > > > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [ERROR] BUILD FAILURE > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [INFO] Compilation failure > > > > > > > > C:\Dokumente und Einstellungen\Sven > > > > > > Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\component\UIComponentBase.java:[66,15] > > > > generics are not supported in -source 1.3 > > > > (try -source 1.5 to enable generics) > > > > private Map _valueExpressionMap = null; > > > > > > > > C:\Dokumente und Einstellungen\Sven > > > > > > Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\convert\EnumConverter.java:[53,33] > > > > for-each loops are not supported in -source 1.3 > > > > (try -source 1.5 to enable for-each loops) > > > > for (Object enumConstant : targetClass.getEnumConstants()) { > > > > > > > > C:\Dokumente und Einstellungen\Sven > > > > > > Haiges\workspace\myfaces-current\core\api\src\main\java\javax\faces\component\UICommand.java:[120,41] > > > > for-each loops are not supported in -source 1.3 > > > > (try -source 1.5 to enable for-each loops) > > > > for (ActionListener listener : getActionListeners()) > > > > > > > > > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [INFO] For more information, run Maven with the -e switch > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [INFO] Total time: 12 seconds > > > > [INFO] Finished at: Mon May 29 09:37:37 CEST 2006 > > > > [INFO] Final Memory: 11M/23M > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > --- > > > > > > > > in the master pom, i changed these lines. > > > > > > > > > > > > maven-compiler-plugin > > > > > > > > 1.5 > > > > 1.5 > > > > > > > > > > > > > > > > (it was 1.3 and 1.2 previously). > > > > > > > > Unfortunately, it still won't compile... > > > > > > > > Anybody had a similar problem? > > > > > > > > Cheers\ > > > > Sven > > > > > > > > > > > > > -- > > > Matthias Wessendorf > > > Aechterhoek 18 > > > 48282 Emsdetten > > > http://jroller.com/page/mwessendorf > > > mwessendorf-at-gmail-dot-com > > > > > > > > > > > -- > > > > Sven Haiges > > sven.haiges@googlemail.com > > > > TEL +49 89 420 958 993 | SIPgate 8008878 | Skype: hansamann > > Personal Homepage, Wiki & Blog: http://www.svenhaiges.de > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten http://jroller.com/page/mwessendorf mwessendorf-at-gmail-dot-com