felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Küspert <mkuesp...@googlemail.com>
Subject Re: Possible bug in Bundle.findEntries?
Date Fri, 19 Feb 2010 11:51:15 GMT
Thanks Stuart - I didn't realize I can open an issue myself ... I will
do and add a simple testcase too.

Cheers,
Matthias

On Fri, Feb 19, 2010 at 11:58 AM, Stuart McCulloch <mcculls@gmail.com> wrote:
> On 19 February 2010 17:54, Matthias Küspert <mkuespert@googlemail.com>wrote:
>
>> Hi,
>>
>> when running an OSGified .war using Pax Web Extender on Felix I
>> encountered a problem with the Bundle.findEntries() method:
>> Bundle.findEntries("WEB-INF", "web.xml", false) returns entries for
>> all files ending with "web.xml" - here's the log entry:
>>
>>    org.ops4j.pax.swissbox.extender.BundleWatcher  - Found resources
>> [bundle://5.0:0/WEB-INF/jonas-web.xml,
>> bundle://5.0:0/WEB-INF/sun-web.xml, bundle://5.0:0/WEB-INF/web.xml]
>>
>> As stated in [1] this seems to be a bug in the findEntries()
>> implementation. If this is true can somebody please open a Jira issue.
>>
>
> Hi Matthias, some things that would help whoever picks up this issue:
>
>   1) what version of Felix are you using
>   2) what exact URLs are returned from findEntries*
>   3) can you provide the WAR file (attach to issue)
>
> * the comments in [1] suggest what's being returned, but it would be good to
> make sure with debugging/println
>
> also note anyone can raise an issue against Felix, just sign up at
> http://issues.apache.org/jira/browse/FELIX
> and hit create... the benefit of raising the issue yourself is that you'll
> get notified when it gets updated / fixed :)
>
>
>> Thanks,
>> Matthias
>>
>> [1] http://issues.ops4j.org/browse/PAXWEB-190
>>
>
> --
> Cheers, Stuart
>

Mime
View raw message