You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/08/18 22:33:16 UTC
[jira] Updated: (XBEAN-155) BundleResourceFinder is inconsistent on
whether suffixes inlcluding '/' work
[ 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.