You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2006/06/20 09:15:29 UTC

[jira] Created: (VFS-51) [TMP] Root dir for temp filesystem should be temp system dir by default

[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
        Type: Bug

    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


[jira] Commented: (VFS-51) [TMP] Root dir for temp filesystem should be temp system dir by default

Posted by "Thomas Hoppe (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Resolved: (VFS-51) [TMP] Root dir for temp filesystem should be temp system dir by default

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VFS-51?page=all ]

Mario Ivankovits resolved VFS-51.
---------------------------------

    Fix Version/s: Nightly Builds
       Resolution: Fixed

Hi!

It's fixed now.

I also changed to honor the java.io.tmpdir system property, so it should work as expected now.

Thanks for reporting it!

Ciao,
Mario

> [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
>             Fix For: Nightly Builds
>
>
> 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


[jira] Closed: (VFS-51) [TMP] Root dir for temp filesystem should be temp system dir by default

Posted by "Mario Ivankovits (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VFS-51?page=all ]

Mario Ivankovits closed VFS-51.
-------------------------------


> [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
>             Fix For: Nightly Builds
>
>
> 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