ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: retrieve sync not deleting even when it says it is
Date Wed, 09 Mar 2011 19:50:38 GMT
Maybe they are locked by another process?
Can you delete them  with Windows Explorer?

Maarten




----- Original Message ----
From: Derek E <snekse.lists@gmail.com>
To: ivy-user@ant.apache.org
Sent: Wed, March 9, 2011 7:40:31 PM
Subject: retrieve sync not deleting even when it says it is

I have the following build target:

***   build.xml   ***
    <target name="ivy-retrieve-dist" ">
     <ivy:retrieve pattern="${war.lib}/${ivy.retrieve.pattern}" conf="dist"
sync="true" />
    </target>

Which, when run with the -debug flag, returns the following in the console:
*** Debug Logs   ***
[ivy:retrieve] syncing...
[ivy:retrieve] deleting
C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\spring-web-2.5.6.SEC01.jar
[ivy:retrieve] deleting
C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\spring-support-1.2.9.jar
[ivy:retrieve] deleting
C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\spring-dao-1.2.9.jar
[ivy:retrieve] deleting
C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\activation-1.1.jar
[ivy:retrieve] deleting
C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\spring-aop-1.2.9.jar
[ivy:retrieve] 122 artifacts copied (63841kB/458ms)
[ivy:retrieve] retrieve done (458ms)
Setting project property: ivy.nb.targets.copied -> 122
Setting project property: ivy.targets.copied -> true
BUILD SUCCESSFUL
Total time: 4 seconds

But when I check C:\dev\Workspace\COR-1568\WebContent\WEB-INF\lib\, those
jar files that were indicated as being deleted are still in there.  What can
I do to find out why these files aren't getting deleted?

Thanks



      

Mime
View raw message