geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (XBEAN-155) BundleAnnotationFinder is inconsistent on whether suffixes inlcluding '/' work
Date Wed, 18 Aug 2010 20:31:19 GMT
BundleAnnotationFinder 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.


Mime
View raw message