[ 
https://issues.apache.org/jira/browse/TWILL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042759#comment-15042759
 ] 

ASF GitHub Bot commented on TWILL-156:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-twill/pull/72


> 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