ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Mainstone (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1107) Unable to publish artifact to shared repository
Date Tue, 04 Aug 2009 13:01:15 GMT

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

Stephen Mainstone updated IVY-1107:
-----------------------------------

    Description: 
I am trying to publish an artifact to the shared repository but I am getting the following error:

Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false

The full stack trace can be found at the bottom of this email. 

Now, I can confirm the following:

a) the destination directory does NOT exist;
b) overwrite is set to true in the <ivy:publish> declaration (since I don't want any unwanted overwrites);
c) this behaviour is NOT encountered when publishing any other modules artifacts in our environment;
d) the module whose artifact is to be published has not been published before (it was created yesterday);
e) if I change overwrite="false" it does publish the module artifact;
f) I've tested this on our remote Ivy repository and on my local filesystem - both yield the same result;

I can't emphasise enough that the destination directory does not exist. I've tried it on three machines. Is the error message being generated misleading? Also, what is the ".part" directory for and why is it being created?

Can someome help in this matter?

Many thanks in anticipation,

Stephen Mainstone

==========================================================================================

Here is the full stack trace.

   [echo] Publishing module artifacts from 'd:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging/vaultutil/lib' to the shared Ivy repository.
Overriding previous definition of property "ivy.version"
Overriding previous definition of property "ivy.version"
 [property] Loading C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
 [property] Unable to find property file: C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
:: delivering :: com.rbsfm#vaultutil;3 :: 3 :: release :: Tue Aug 04 09:57:30 BST 2009
	delivering ivy file to d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\ivy.xml
:: publishing :: com.rbsfm#vaultutil
	published vaultutil to //lonms00804.fm.rbsgrp.net/d$/CPIVYREPOSITORY/cp-repository/com.rbsfm/vaultutil/3.part/vaultutil.jar
	publish aborted: deleted \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part
      [ant] Exiting d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build.xml.

BUILD FAILED - at 04/08/09 09:57
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\vaultutil\ivy-build.xml:48: The following error occurred while executing this line:
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	... 17 more
Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	... 65 more
--- Nested Exception ---
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	... 65 more
--- Nested Exception ---
java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 5 seconds


  was:
I am trying to publish an artifact to the shared repository but I am getting the following error:

Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false

The full stack trace can be found at the bottom of this email. 

Now, I can confirm the following:

a) the destination directory does NOT exist;
b) overwrite is set to true in the <ivy:publish> declaration (since I don't want any unwanted overwrites);
c) this behaviour is NOT encountered when publishing any other modules artifacts in our environment;
d) the module whose artifact is to be published has not been published before (it was created yesterday);
e) if I change overwrite="false" it does publish the module artifact;
f) I've tested this on our remote Ivy repository and on my local filesystem - both yield the same result;

I can emphasise enough that the destination directory does not exist. I've tried it on three machines. Is the error message being generated misleading? Can someome help in this matter? Also, what is the ".part" directory for and why is it being created?

Many thanks in anticipation,

Stephen Mainstone

==========================================================================================

Here is the full stack trace.

   [echo] Publishing module artifacts from 'd:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging/vaultutil/lib' to the shared Ivy repository.
Overriding previous definition of property "ivy.version"
Overriding previous definition of property "ivy.version"
 [property] Loading C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
 [property] Unable to find property file: C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
:: delivering :: com.rbsfm#vaultutil;3 :: 3 :: release :: Tue Aug 04 09:57:30 BST 2009
	delivering ivy file to d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\ivy.xml
:: publishing :: com.rbsfm#vaultutil
	published vaultutil to //lonms00804.fm.rbsgrp.net/d$/CPIVYREPOSITORY/cp-repository/com.rbsfm/vaultutil/3.part/vaultutil.jar
	publish aborted: deleted \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part
      [ant] Exiting d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build.xml.

BUILD FAILED - at 04/08/09 09:57
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\vaultutil\ivy-build.xml:48: The following error occurred while executing this line:
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	... 17 more
Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	... 65 more
--- Nested Exception ---
d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	... 65 more
--- Nested Exception ---
java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 5 seconds



> Unable to publish artifact to shared repository
> -----------------------------------------------
>
>                 Key: IVY-1107
>                 URL: https://issues.apache.org/jira/browse/IVY-1107
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows XP (Service Patch 2)
>            Reporter: Stephen Mainstone
>
> I am trying to publish an artifact to the shared repository but I am getting the following error:
> Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> The full stack trace can be found at the bottom of this email. 
> Now, I can confirm the following:
> a) the destination directory does NOT exist;
> b) overwrite is set to true in the <ivy:publish> declaration (since I don't want any unwanted overwrites);
> c) this behaviour is NOT encountered when publishing any other modules artifacts in our environment;
> d) the module whose artifact is to be published has not been published before (it was created yesterday);
> e) if I change overwrite="false" it does publish the module artifact;
> f) I've tested this on our remote Ivy repository and on my local filesystem - both yield the same result;
> I can't emphasise enough that the destination directory does not exist. I've tried it on three machines. Is the error message being generated misleading? Also, what is the ".part" directory for and why is it being created?
> Can someome help in this matter?
> Many thanks in anticipation,
> Stephen Mainstone
> ==========================================================================================
> Here is the full stack trace.
>    [echo] Publishing module artifacts from 'd:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging/vaultutil/lib' to the shared Ivy repository.
> Overriding previous definition of property "ivy.version"
> Overriding previous definition of property "ivy.version"
>  [property] Loading C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
>  [property] Unable to find property file: C:\Documents and Settings\svc-fifo\Local Settings\Temp\delivery.properties
> :: delivering :: com.rbsfm#vaultutil;3 :: 3 :: release :: Tue Aug 04 09:57:30 BST 2009
> 	delivering ivy file to d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\ivy.xml
> :: publishing :: com.rbsfm#vaultutil
> 	published vaultutil to //lonms00804.fm.rbsgrp.net/d$/CPIVYREPOSITORY/cp-repository/com.rbsfm/vaultutil/3.part/vaultutil.jar
> 	publish aborted: deleted \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part
>       [ant] Exiting d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build.xml.
> BUILD FAILED - at 04/08/09 09:57
> d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\vaultutil\ivy-build.xml:48: The following error occurred while executing this line:
> d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:698)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:199)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> 	... 17 more
> Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
> 	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
> 	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
> 	at org.apache.ivy.Ivy.publish(Ivy.java:600)
> 	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
> 	... 65 more
> --- Nested Exception ---
> d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\rbsfm\cpbuild\build\ivy-build-core.xml:509: impossible to publish artifacts for com.rbsfm#vaultutil;3: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:318)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:698)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:199)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
> 	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
> 	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
> 	at org.apache.ivy.Ivy.publish(Ivy.java:600)
> 	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
> 	... 65 more
> --- Nested Exception ---
> java.io.IOException: file copy not done from d:\cpintegrationserver\modulepublicationserver\modules\vaultutil-3246a0a6-e364-4842-a6e8-1b7f5d957914\temp\staging\vaultutil\lib\vaultutil.jar to \\lonms00804.fm.rbsgrp.net\d$\CPIVYREPOSITORY\cp-repository\com.rbsfm\vaultutil\3.part\vaultutil.jar: destination already exists and overwrite is false
> 	at org.apache.ivy.plugins.repository.file.FileRepository.copy(FileRepository.java:78)
> 	at org.apache.ivy.plugins.repository.file.FileRepository.put(FileRepository.java:58)
> 	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:219)
> 	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
> 	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
> 	at org.apache.ivy.Ivy.publish(Ivy.java:600)
> 	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
> 	at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at net.sf.antcontrib.logic.RunTargetTask.execute(RunTargetTask.java:48)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:357)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:698)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:199)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Total time: 5 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message