FileUtils methods (mkdir, mkdir_p and cp_r) are not accept windows network
address: //machine_ip/shareDir
----------------------------------------------------------------------------------------------------------
Key: JRUBY-5240
URL: http://jira.codehaus.org/browse/JRUBY-5240
Project: JRuby
Issue Type: Bug
Components: Ruby 1.8.7
Affects Versions: JRuby 1.5.6, JRuby 1.5.5
Environment: Windows
Reporter: Li Xiao
Priority: Blocker
Attachments: jruby_fileutils_test.rb
When "//10.1.1.1/shareDir" exists, the following code does not work well on
windows:
FileUitls.mkdir("//10.1.1.1/shareDir/notExistDir")
FileUitls.mkdir_p("//10.1.1.1/shareDir/notExistDir")
FileUitls.cp_r("//10.1.1.1/shareDir/a", "//10.1.1.1/shareDir/b)
Not share any other methods or File/Dir related methods work well.
I created a test file for fileutils, only these 3 methods have problem, see
attachment.
The attached test file passes on cruby, failed on jruby
--
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