Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 49141 invoked from network); 20 Aug 2008 22:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 22:29:36 -0000 Received: (qmail 326 invoked by uid 500); 20 Aug 2008 22:29:33 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 266 invoked by uid 500); 20 Aug 2008 22:29:33 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 255 invoked by uid 99); 20 Aug 2008 22:29:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 15:29:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 22:28:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E6AB234C1C2 for ; Wed, 20 Aug 2008 15:28:44 -0700 (PDT) Message-ID: <1070939410.1219271324385.JavaMail.jira@brutus> Date: Wed, 20 Aug 2008 15:28:44 -0700 (PDT) From: =?utf-8?Q?Simon-Pierre_B=C3=A9liveau_=28JIRA=29?= To: dev@myfaces.apache.org Subject: [jira] Updated: (MYFACES-1896) FacesConfigurator version check incorrect In-Reply-To: <777643017.1215976651660.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-1896?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon-Pierre B=C3=A9liveau updated MYFACES-1896: ------------------------------------------- Status: Patch Available (was: Open) > FacesConfigurator version check incorrect > ----------------------------------------- > > Key: MYFACES-1896 > URL: https://issues.apache.org/jira/browse/MYFACES-1896 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 1.2.2 > Reporter: Hilbert Schraal > Attachments: MYFACES-1896.patch > > > The FacesConfigurator does some checks on whether there are multiple vers= ions of Tomahawk and MyFaces in the classpath. This check is incorrect, in = the sense that it can, and will, log incorrect error messages. > This problem occurs when using the jar from the tomahawk-facelets project= (http://code.google.com/p/tomahawk-facelets), of which I'm one of the main= tainers. The current release is called tomahawk-facelets-1.1.6.2.jar, which= gives the following error: > ERROR FacesConfigurator?:404 - You are using the MyFaces?-package : tomah= awk in different versions; first (and probably used) version is : 1.1.6, cu= rrently encountered version is : facelets-taglib. This will cause undesired= behaviour. Please clean out your class-path. The first encountered version= is loaded from : file:/G:/Development/IdeaProjects/blokart/out/exploded/bl= okartWeb/WEB-INF/lib/tomahawk-1.1.6.jar. The currently encountered version = is loaded from : jar:file:/G:/Development/IdeaProjects/blokart/out/exploded= /blokartWeb/WEB-INF/lib/tomahawk-facelets-taglib.jar!/META-INF/MANIFEST.MF > However, this jar just contains taglibs and some supporting class files. = So the error is logged without a valid reason. > I've looked at the code in the FacesConfigurator and have seen that the c= hecks can be improved, e.g. using the following regular expression for gett= ing the version number of Tomahawk: tomahawk-(\d\.\d\.\d) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.