Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 18347 invoked from network); 27 Jan 2010 22:00:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 22:00:58 -0000 Received: (qmail 36169 invoked by uid 500); 27 Jan 2010 22:00:57 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 36105 invoked by uid 500); 27 Jan 2010 22:00:57 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 36096 invoked by uid 99); 27 Jan 2010 22:00:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 22:00:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 22:00:55 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83DD2234C1EF for ; Wed, 27 Jan 2010 14:00:34 -0800 (PST) Message-ID: <1525289065.88951264629634528.JavaMail.jira@brutus.apache.org> Date: Wed, 27 Jan 2010 22:00:34 +0000 (UTC) From: "John Brandy (JIRA)" To: notifications@ant.apache.org Subject: [jira] Created: (IVY-1165) During retreieve: Creation of symlinks problematic in Windows with Cygwin 1.7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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 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.