From e14ae9996c7a36b85fc602fc3d82239a03e1b990 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 30 Jan 2008 00:53:22 +0000
Subject: [PATCH] When there is a problem deleting files in the uninstaller, just consider it a warning and inform the user that the problematic file might being used by another process.
---
opends/src/guitools/org/opends/guitools/uninstaller/UninstallProgressStep.java | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallProgressStep.java b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallProgressStep.java
index 50fc7e6..66729d0 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/UninstallProgressStep.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/UninstallProgressStep.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2006-2007 Sun Microsystems, Inc.
+ * Portions Copyright 2006-2008 Sun Microsystems, Inc.
*/
package org.opends.guitools.uninstaller;
@@ -85,6 +85,11 @@
FINISHED_WITH_ERROR_ON_REMOTE,
/**
+ * Installation finished but not all the files could be deleted.
+ */
+ FINISHED_WITH_ERROR_DELETING,
+
+ /**
* Installation finished with an error.
*/
FINISHED_WITH_ERROR;
@@ -95,7 +100,8 @@
public boolean isLast() {
return this == FINISHED_SUCCESSFULLY ||
this == FINISHED_WITH_ERROR ||
- this == FINISHED_WITH_ERROR_ON_REMOTE;
+ this == FINISHED_WITH_ERROR_ON_REMOTE ||
+ this == FINISHED_WITH_ERROR_DELETING;
}
/**
--
Gitblit v1.10.0