Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-155

BundleResourceFinder is inconsistent on whether suffixes inlcluding '/' work

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8
    • 3.8
    • finder
    • None

    Description

      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.

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: