commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Hoppe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-51) [TMP] Root dir for temp filesystem should be temp system dir by default
Date Thu, 27 Jul 2006 10:47:15 GMT
    [ http://issues.apache.org/jira/browse/VFS-51?page=comments#action_12423815 ] 
            
Thomas Hoppe commented on VFS-51:
---------------------------------

The problem is even worse:

I have a restricted account and If I run my app using VFS, I get:

Caused by: org.apache.commons.vfs.FileSystemException: Could not write to "tmp:///webdav_tmp.c1".

Unfortunately even with these lines:

			fsManager = VFS.getManager();
			DefaultFileReplicator tempStore = new DefaultFileReplicator(new File("C:/temp")); 
			((DefaultFileSystemManager)fsManager).setTemporaryFileStore(tempStore);

I cannot change that behaviour.
Shouldn't VFS change to the supplied temp directory that way?

Thomas

> [TMP] Root dir for temp filesystem should be temp system dir by default
> -----------------------------------------------------------------------
>
>                 Key: VFS-51
>                 URL: http://issues.apache.org/jira/browse/VFS-51
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: 1.0-RC8-SNAPSHOT, Windows XP, Sun JVM (1.4, 1.5, 1.6)
>            Reporter: Sergey Vladimirov
>
> Root dir for temp filesystem should be temp system dir by default, not root dir of system
drive.
> I'm using tmp filesystem to perform JUnit tests, and i need to clean up my root folder
of C: every time after tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message