[izpack-changes] r2031 - izpack-src/trunk/src/lib/com/izforge/izpack/installer

noreply at berlios.de noreply at berlios.de
Fri Feb 1 17:42:11 CET 2008


Author: jponge
Date: 2008-02-01 17:42:09 +0100 (Fri, 01 Feb 2008)
New Revision: 2031

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java
Log:
ProcessPanel: the installation success is set to false in case an error has occurred (Julien Ponge)

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java	2008-02-01 16:24:56 UTC (rev 2030)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java	2008-02-01 16:42:09 UTC (rev 2031)
@@ -413,7 +413,8 @@
                     if (exitStatus != 0)
                     {
                         // New bahavior: make it fail
-                        this.handler.emitError("process execution failed", "");
+                        this.handler.emitError("Process execution failure", "The process has returned an error.");
+                        return false;
                         /*if (this.handler.askQuestion("process execution failed",
                                 "Continue anyway?", AbstractUIHandler.CHOICES_YES_NO,
                                 AbstractUIHandler.ANSWER_YES) == AbstractUIHandler.ANSWER_NO)



More information about the izpack-changes mailing list