ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-1165) During retreieve: Creation of symlinks problematic in Windows with Cygwin 1.7
Date Tue, 02 Feb 2010 22:30:20 GMT

     [ https://issues.apache.org/jira/browse/IVY-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-1165.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

I've made an attempt to fix this in trunk, but  I was unable to test it.
Could you please give it a try and post your feedback here?

thanks!
Maarten

> During retreieve: Creation of symlinks problematic in Windows with Cygwin 1.7
> -----------------------------------------------------------------------------
>
>                 Key: IVY-1165
>                 URL: https://issues.apache.org/jira/browse/IVY-1165
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0-RC2
>         Environment: Windows 7 64 bit
> Cygwin 1.7
> Cygwin's bin directory on PATH
>            Reporter: John Brandy
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>
> On Windows with the Cygwin 1.7 bin directory on the PATH, Ivy will create a ~1kb "symlink"
file instead of copying the jar to the ivylib directory. This causes the retrieve process
to fail.
> As described in [IVY-353|http://issues.apache.org/jira/browse/IVY-353], the creation
of symlinks with cygwin was problematic  for Windows systems. The fix as I understand it was
to attempt to create a symlink, if that failed (the expected file did not exist) then copy
the jar. That worked with the default configuration of Cygwin 1.5 which attempted to create
Windows link (file.lnk) files. However as of 1.7 cygwin does not default to that behavior
anymore and now Ivy fails in this case. 
> For either version, if cygwin's environment option "winsymlinks" is turned to off --
which 1.7 defaults to -- then Ivy won't successfully retrieve due to thinking that the creation
of a symlink was successful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message