Kostis Anagnostopoulos wrote:
Hi,
I've been trying to build a stripped-down version of VFS fileSystem
manager and i'm having problem with the sandboxed providers.
Since the name of the included within-the-jar configuration file is
vfs-providers.xml, i think it triggers its discovery by the
On Wednesday 04 April 2007 08:04, Mario Ivankovits wrote:
Hi Kostis!
So i cannot use a
StandardFileSystemManager.configure(my-providers-only.xml) because
i'm getting a:
org.apache.commons.vfs.FileSystemException: Multiple providers
registered for URL scheme smb.
at
Hi Kostis!
Notice that this error happens EVEN WHEN myproviders-only.xml file
DOES NOT SPECIFY the smb provider!
This is strange, do you have some time to debug into VFS to see whats
going on?
I don't find it strange; I believe it is obvious what happens:
The
Kostis Anagnostopoulos wrote:
StandardFileSystemManager fsm = new StandardFileSystemManager();
fsm.setConfiguration( YourClass.class.getResource(
my-providers-only.xml ) );
fsm.init();
String dir = System.getProperty( user.dir );
fsm.setBaseFile( new File(
Hi,
I've been trying to build a stripped-down version of VFS fileSystem
manager and i'm having problem with the sandboxed providers.
Since the name of the included within-the-jar configuration file is
vfs-providers.xml, i think it triggers its discovery by the fileSystem
manager and it is
Hi Kostis!
So i cannot use a
StandardFileSystemManager.configure(my-providers-only.xml) because
i'm getting a:
org.apache.commons.vfs.FileSystemException: Multiple providers
registered for URL scheme smb.
at