[
https://issues.apache.org/jira/browse/VFS-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770841#comment-13770841
]
Bernd Eckenfels commented on VFS-490:
-------------------------------------
Gary, I have one (will attach it later its on another machine) however it does
not really work because it makes problems with the generic tast framework
harness which I dont really understand. I will attach it here, maybe you can
tell me what to do.
When adding it to the VfsClassLoaderTest it sill run against all providers,
which should work however it requires the manager to be reconfigued to have
Replication and JAR provider added. But even when I do it it does not work on
all Filesystems. So alternative option would be a stand alone test against a
well constructed manager, but this seems to be kind of the wrong approach.
> [vfsclassloader] tries to open folders with .zip or .jar extension
> ------------------------------------------------------------------
>
> Key: VFS-490
> URL: https://issues.apache.org/jira/browse/VFS-490
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Bernd Eckenfels
>
> Whan adding folders with a name of *.zip or *.jar to the VFSClassLoader this
> will fail, at it tries to open it as a layered filesystem. This can be fixed
> in the classloader by checking the file type, but most likely
> canCreateFileSystem() needs to be changed.
> The following is a quickfixed version (it also inlines the Resource class)
> https://github.com/ecki/seeburger-vfs2/blob/master/vfs2provider-jdbctable/src/main/java/com/seeburger/vfs2/util/VFSClassLoader.java#L152
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira