>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
> 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
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
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]
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
I haven't used vfs (yet) but I'm pretty sure the the file url should have 3
slashes:
"file:///c:/temp/toto.zip"
because urls reserve the spot between slash 2 and 3 for a host/port.
Rob
Stéphane Rault wrote:
XmlBeans doesn't matter in any way in my problem. Sorry for the confusion !!
But my real
XmlBeans doesn't matter in any way in my problem. Sorry for the confusion !!
But my real problem with Zip file is still alive :-(
Here is the stack trace of the exception catched :
org.apache.commons.vfs.FileSystemException: Could not replicate
"file://c:/temp/toto.zip" as it does not exist.