Tempfile defaults to a directory that does not exist on Windows
---------------------------------------------------------------

                 Key: JRUBY-3351
                 URL: http://jira.codehaus.org/browse/JRUBY-3351
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.2


For JRuby 1.2, the "tempfile" library was rewritten in Java to allow using 
Java-based tempfile logic. But the default path it uses is always "/tmp", which 
generally does not exist on Windows (I think it would map to "C:\tmp"). It 
needs to be modified to use the contents of the TEMP or TMP environment 
variables at the very least, or we need to query the temp path from Java if 
possible and use that. This breaks several tests on Windows.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to