felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Küspert (JIRA) <j...@apache.org>
Subject [jira] Closed: (FELIX-2107) Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>'
Date Sat, 20 Feb 2010 22:10:27 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Küspert closed FELIX-2107.
-----------------------------------


Thanks - the test now works as expected.

> Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>'
> ------------------------------------------------------------------------
>
>                 Key: FELIX-2107
>                 URL: https://issues.apache.org/jira/browse/FELIX-2107
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-2.0.2
>            Reporter: Matthias Küspert
>            Assignee: Richard S. Hall
>             Fix For: felix-3.0.0
>
>         Attachments: bug_findentries-0.0.1-SNAPSHOT.jar
>
>
> If findEntries() is called without wildcards in <filePattern> and the bundle contains
more than one resource ending with <filePattern> then URLs for all those resources are
returned instead of the one exact match.
> E.g. if the bundle contains the files:
>   - WEB-INF/web.xml
>   - WEB-INF/1-web.xml
> then findEntries("WEB-INF", "web.xml", false) will return 2 URLs instead of 1.

-- 
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