commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <>
Subject [jira] [Commented] (VFS-500) VFSClassLoader.findResources missing
Date Sat, 08 Feb 2014 17:16:19 GMT


Bernd Eckenfels commented on VFS-500:

`mvn test` works for me with no errors (with and without the patch).

However sporadically `mvn verify` (on project parent) fails, not sure why. But it seems not
related to the patch. Will do some research and open a seperate bug for that.

Tests in error:
  ProviderTestSuite>>AbstractTestSuite.setUp:182 » FileSystem

Test set: org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.06 sec <<< FAILURE!
- in org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
junit.framework.TestSuite@6c54e75b(org.apache.commons.vfs2.test.ProviderTestSuite)  Time elapsed:
0.06 sec  <<< ERROR!
org.apache.commons.vfs2.FileSystemException: Unknown message with code "org.apache.commons.vfs2.FileNotFoundException
Could not read from "file:///mnt/vfs/vfs/core/target/test-classes/test-data/write-tests/file1.txt"
because it is not a file.".
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(
        at org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(
        at org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(
        at org.apache.commons.vfs2.test.AbstractTestSuite.setUp(
        at org.apache.commons.vfs2.test.AbstractTestSuite$1.protect(
        at junit.framework.TestResult.runProtected(

> VFSClassLoader.findResources missing
> ------------------------------------
>                 Key: VFS-500
>                 URL:
>             Project: Commons VFS
>          Issue Type: New Feature
>            Reporter: Bernd Eckenfels
>            Priority: Minor
>         Attachments: vfs-500-gg.diff
> the VFSClassLoader.findResources(String) method is a dummy implementation returning an
empty Enumeration.
> I have a working implementation and will support the patch for it, this is the JIRA to
track it.

This message was sent by Atlassian JIRA

View raw message