Mario Ivankovits wrote:
Hi!
it's _physically_ lost; the code deletes the target file first...
Oh yes, I am an idiot, I've overlooked it, sorry.
:-D...
Hmmm ... I'll think about it.
OSX is NOT case sensitive?
Depends on which file system, but by default no, it's not... (not thei
Hi!
> it's _physically_ lost; the code deletes the target file first...
Oh yes, I am an idiot, I've overlooked it, sorry.
Hmmm ... I'll think about it.
OSX is NOT case sensitive?
Ciao,
Mario
-
To unsubscribe, e-mail: [EMAIL PR
Mario Ivankovits wrote:
After this, neither file exists anymore That could cause some
major head-aches...
Works here (on linux) you are on windows, no?
right now testing on OSX; but across linux/windows/osx most of the time.
The idea is to be able to rename the case of a file.. (e
Hi Filip!
> fo = file:///tmp/test.txt
> fo2 = file:///tmp/TeST.txt
> Exception in thread "main" org.apache.commons.vfs.FileSystemException:
> Could not rename "file:///tmp/test.txt" to "file:///tmp/TeST.txt".
>at
> org.apache.commons.vfs.provider.AbstractFileObject.moveTo(AbstractFileObject
Great, thanks a lot.
I have a more complicated case now (the one I was starting to build :-D
): rename to the same file,
but different case. That's bad, since it actually deletes the source
file...:
import java.io.*;
import org.apache.commons.vfs.*;
import org.apache.commons.vfs.impl.*;
publ
Hi Filip!
> I might just be getting tired now, but the following test fails
> with a NPE:
;-)
This was due to the fixes I did for the threading issue - and unhappily
I didnt had the time to run the tests.
But its fixed now.
Sorry for the inconvenience.
Ciao,
Mario
--
Hi VFS,
I might just be getting tired now, but the following test fails
with a NPE:
import java.io.*;
import org.apache.commons.vfs.*;
import org.apache.commons.vfs.impl.*;
public class RenameCase {
public static final void main(final String[] args) throws Exception {
StandardFi