Return-Path: Delivered-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Received: (qmail 47577 invoked from network); 18 Aug 2010 20:33:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 20:33:55 -0000 Received: (qmail 19972 invoked by uid 500); 18 Aug 2010 20:33:55 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 19925 invoked by uid 500); 18 Aug 2010 20:33:55 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 19917 invoked by uid 99); 18 Aug 2010 20:33:55 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 20:33:55 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 20:33:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7IKXGEx022397 for ; Wed, 18 Aug 2010 20:33:16 GMT Message-ID: <12212291.429541282163596095.JavaMail.jira@thor> Date: Wed, 18 Aug 2010 16:33:16 -0400 (EDT) From: "David Jencks (JIRA)" To: xbean-dev@geronimo.apache.org Subject: [jira] Updated: (XBEAN-155) BundleResourceFinder is inconsistent on whether suffixes inlcluding '/' work In-Reply-To: <32298826.429451282163479148.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XBEAN-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks updated XBEAN-155: ------------------------------- Summary: BundleResourceFinder is inconsistent on whether suffixes inlcluding '/' work (was: BundleAnnotationFinder is inconsistent on whether suffixes inlcluding '/' work) > BundleResourceFinder is inconsistent on whether suffixes inlcluding '/' work > ---------------------------------------------------------------------------- > > Key: XBEAN-155 > URL: https://issues.apache.org/jira/browse/XBEAN-155 > Project: XBean > Issue Type: Bug > Components: finder > Affects Versions: 3.8 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 3.8 > > > This might be a problem only on equinox... if felix is ignoring some spec bits. > When we scan an embedded zip file in a bundle, we just do a string match on the suffix to the entry path. But for plain bundle entries, we use the bundle.findEntries which only matches the last path component. So, for instance, if you look for META-INF/persistence.xml you'll find it in an embedded jar file but not in WEB-INF/classes/META-INF/persistence.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.