RE : RE : [VFS] Problem with Zip files

2005-02-09 Thread Stéphane Rault
>From what I gather, you're trying to do this on a zip file that doesn't exist - afaik, the root of a file system has to exist, it's not possible to create a file system from a non existing root. Not 100% certain about this, but try it with a zip that exists first and see if that works.. --> Ye

Re: RE : [VFS] Problem with Zip files

2005-02-09 Thread filipdef
> But with the same exception : > org.apache.commons.vfs.FileSystemException: Could not replicate > "file://c:/temp/toto.zip" as it does not exist. ... > I think this is a bug in zip protocol as it tried to wrap the file > protocol > but can't manage to do it with a -non-existant file. > Am I

RE : [VFS] Problem with Zip files

2005-02-09 Thread Stéphane Rault
mons Developers List Objet : Re: [VFS] Problem with Zip files Hang on - you've switched protocols there - You asked about "file:" urls not "zip:" urls! Looking at the vfs docs (http://jakarta.apache.org/commons/sandbox/vfs/filesystems.html) it would seem that any of t

Re: [VFS] Problem with Zip files

2005-02-09 Thread Rob Oxspring
on: Could not find file with URI "///c:\temp\toto.zip" because it is a relative path, and no base URI was provided. -Message d'origine- De : Rob Oxspring [mailto:[EMAIL PROTECTED] Envoyà : mardi 8 fÃvrier 2005 17:37 à : Jakarta Commons Developers List Objet : Re: RE : [VFS]

RE : RE : [VFS] Problem with Zip files

2005-02-08 Thread Stéphane Rault
I was provided. -Message d'origine- De : Rob Oxspring [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 février 2005 17:37 À : Jakarta Commons Developers List Objet : Re: RE : [VFS] Problem with Zip files I haven't used vfs (yet) but I'm pretty sure the the file url should have

Re: RE : [VFS] Problem with Zip files

2005-02-08 Thread Rob Oxspring
t.main(FileTest.java:37) In the API, resolveFile may worked even with file which doesn't exist (Am I wrong ?) -Message d'origine- De : Stéphane Rault [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 février 2005 08:43 À : commons-dev@jakarta.apache.org Objet : [VFS] Problem with Zip files

RE : [VFS] Problem with Zip files

2005-02-08 Thread Stéphane Rault
005 08:43 À : commons-dev@jakarta.apache.org Objet : [VFS] Problem with Zip files I've a problem accessing Zip files with VFS API. I'm using XmlBeans V2 (cause of a bug in V1) compiled the 10 jan 2005. Here is my sample code : try { Stan

[VFS] Problem with Zip files

2005-02-07 Thread Stéphane Rault
I've a problem accessing Zip files with VFS API. I'm using XmlBeans V2 (cause of a bug in V1) compiled the 10 jan 2005. Here is my sample code : try { StandardFileSystemManager manager = new StandardFileSystemManager(); manager.setFilesCache(new SoftR