[
https://issues.apache.org/jira/browse/IVY-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644279#comment-16644279
]
Simon Wade commented on IVY-1594:
---------------------------------
{quote}
Hello Simon, Is there a simple build and Ivy file you can attach for us to
reproduce this?
{quote}
I've attached the best I could come up with, as I honestly wasn't sure where to
find a public repository that contained anything other than JAR artifacts! You
should be able to simply run the default Ant target to reproduce the issue.
Just a reminder that you need to run from an admin command prompt, otherwise it
will fail to create symlinks due to missing privileges. :(
> 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)