plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/targets/FilesystemDeploymentTarget.java
changeset 483 109da596fa9d
parent 470 d4809db37847
--- a/plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/targets/FilesystemDeploymentTarget.java	Wed Sep 01 16:59:08 2010 -0700
+++ b/plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/targets/FilesystemDeploymentTarget.java	Thu Sep 02 10:50:38 2010 -0700
@@ -65,7 +65,9 @@
             throw new CoreException(
                     new Status(IStatus.ERROR, TMWCoreUI.PLUGIN_ID, "Failed to copy application file", e));
         } finally {
-            file.delete();
+            if (!file.delete()) {
+                TMWCoreUI.log("Can't delete %s", file);
+            }
         }
         return Status.OK_STATUS;
     }