Re: [vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-04 Thread Philippe Poulard
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

Re: [vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-04 Thread Kostis Anagnostopoulos
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

Re: [vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-04 Thread Mario Ivankovits
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

Re: [vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-04 Thread Philippe Poulard
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(

[vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-03 Thread Kostis Anagnostopoulos
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

Re: [vfs] vfs-sandbox jar 's vfs-providers.xml gets auto-loaded even when manually configuring

2007-04-03 Thread Mario Ivankovits
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