Community
Participate
Working Groups
If a bundle has a root directory "foo/" then the following call should return an enumeration containing a URL to that directory: Enumeration fooDirs = bundle.findEntries("/", "foo/", false); Currently null is returned because the code incorrectly substrings the matching string "foo/" at the last '/' char.
Fixed in head. Will attach a patch for 3.1.1.
Created attachment 26337 [details] Proposed fix for 3.1.1 Pascal, please review for 3.1.1, thanks.
Created attachment 26357 [details] Proposed fix for 3.1.1 The first fix had some issues. This patch correctly uses the last segment of the bundle entry paths to match against the filePattern.
Pascal, please take a look at the latest patch to the maintenance branch. I already released the new patch to HEAD since the current fix in HEAD was bogus.
Patch reviewed. Good to go.
Fixed in maintenance branch.