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

Simon Wade commented on IVY-1594:
---------------------------------

Here's the interesting bit of the verbose output that occurs when I run the 
provided example:
{noformat}
[ivy:retrieve] WARN: symlink creation failed at path [redacted]\lib\bin-0.0.0. 
(java.nio.file.FileAlreadyExistsException: [redacted]\lib\bin-0.0.0.){noformat}

> Directory symlink creation always fails on Windows
> --------------------------------------------------
>
>                 Key: IVY-1594
>                 URL: https://issues.apache.org/jira/browse/IVY-1594
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.0-rc1
>            Reporter: Simon Wade
>            Priority: Major
>         Attachments: IVY-1594-reproduction.zip
>
>
> Creating symlinks to directories, during a retrieve, seems to _always_ fail 
> on Windows 7, even when running with the required (elevated) privileges. 
> Instead, the fallback copy method is always used.
> Running with verbose logging reveals the fallback is used due to a 
> java.nio.file.FileAlreadyExistsException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to