plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/targets/FilesystemDeploymentTarget.java
changeset 483 109da596fa9d
parent 470 d4809db37847
equal deleted inserted replaced
482:2973198ae2a9 483:109da596fa9d
    63             }
    63             }
    64         } catch (IOException e) {
    64         } catch (IOException e) {
    65             throw new CoreException(
    65             throw new CoreException(
    66                     new Status(IStatus.ERROR, TMWCoreUI.PLUGIN_ID, "Failed to copy application file", e));
    66                     new Status(IStatus.ERROR, TMWCoreUI.PLUGIN_ID, "Failed to copy application file", e));
    67         } finally {
    67         } finally {
    68             file.delete();
    68             if (!file.delete()) {
       
    69                 TMWCoreUI.log("Can't delete %s", file);
       
    70             }
    69         }
    71         }
    70         return Status.OK_STATUS;
    72         return Status.OK_STATUS;
    71     }
    73     }
    72 
    74 
    73     public void discoverTargets(IProgressMonitor monitor) throws CoreException {
    75     public void discoverTargets(IProgressMonitor monitor) throws CoreException {