You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Dejan Ćebetarević (JIRA)" <ji...@apache.org> on 2013/10/31 15:43:17 UTC

[jira] [Updated] (IVY-1449) Ivy doesn't actually delete files during syncing on Windows

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

Dejan Ćebetarević updated IVY-1449:
-----------------------------------

    Attachment: ivy-bug-demo.zip

Attaching a sample project used to reproduce the issue.
It includes Ant debug output on both platforms (Windows and Linux).

> Ivy doesn't actually delete files during syncing on Windows
> -----------------------------------------------------------
>
>                 Key: IVY-1449
>                 URL: https://issues.apache.org/jira/browse/IVY-1449
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0
>         Environment: Detected Java version: 1.7 in: d:\java\jdk1.7.0_09\jre
> Detected OS: Windows 7
> Apache Ant(TM) version 1.8.4 compiled on May 22 2012
>            Reporter: Dejan Ćebetarević
>         Attachments: ivy-bug-demo.zip
>
>
> When performing {{ivy:retrieve}} with {{sync="true"}} on Windows any *superfluous JAR files* - i.e. the ones not listed in the {{ivy.xml}} - *are NOT deleted* as compared to the same action on Linux.
> This issue surfaced when we tried to build a project on Linux and it failed, while the same build succeeds on Windows. The project was checked out from SVN, and we have a few JAR files managed by hand inside the {{/WebRoot/WEB-INF-lib}} folder. {{sync="true"}} was a copy-paste error as it was supposed to be set to {{false}} but we didn't notice it before because the build was passing on our Windows workstations.



--
This message was sent by Atlassian JIRA
(v6.1#6144)