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

             Summary: 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ć


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)

Reply via email to