>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
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
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
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