Ivy
  1. Ivy
  2. IVY-1165

During retreieve: Creation of symlinks problematic in Windows with Cygwin 1.7

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-RC2
    • Fix Version/s: 2.2.0-RC1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 7 64 bit
      Cygwin 1.7
      Cygwin's bin directory on PATH

      Description

      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, 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Maarten Coene
            Reporter:
            John Brandy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development