Shankar Selvam created TWILL-156:
------------------------------------

             Summary: LocalLocation using File.renameTo fails for Windows when 
the destination file exists
                 Key: TWILL-156
                 URL: https://issues.apache.org/jira/browse/TWILL-156
             Project: Apache Twill
          Issue Type: Bug
            Reporter: Shankar Selvam
            Assignee: Shankar Selvam
             Fix For: 0.7.0-incubating


the LocalLocation implementation of renameTo uses File.renameTo(destination), 
In windows if the destination file exists already this fails and returns false. 

We should use Files.move(source, target, options) and include option to replace 
existing files. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to