Index: RSERemotePublishHandler.java
===================================================================
--- RSERemotePublishHandler.java (revision 41765)
+++ RSERemotePublishHandler.java (working copy)
@@ -137,7 +137,7 @@
}
};
- return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", monitor);
+ return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", false, monitor);
}
public IStatus[] makeDirectoryIfRequired(final IPath dir,
The fix is to ensure that attempts to delete a remote file do not throw an exception and disrupt the entire publish if that remote file does not exist. Currently it is behaving as if removal of a file is critical to the deployment, and if removal fails, then the publish has failed. This is incorrect behavior.
Index: RSERemotePublishHandler.java =================================================================== --- RSERemotePublishHandler.java (revision 41765) +++ RSERemotePublishHandler.java (working copy) @@ -137,7 +137,7 @@ } }; - return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", monitor); + return wrapRemoteCall(run, remotePath.toString(), "failed to delete {0} on host {1}", false, monitor); } public IStatus[] makeDirectoryIfRequired(final IPath dir,The fix is to ensure that attempts to delete a remote file do not throw an exception and disrupt the entire publish if that remote file does not exist. Currently it is behaving as if removal of a file is critical to the deployment, and if removal fails, then the publish has failed. This is incorrect behavior.