mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
03.06.2008 394f9db3f8d0258fcff62f01321ae7aad59fb371
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -161,6 +161,7 @@
  private boolean registeredNewServerOnRemote;
  private boolean createdAdministrator;
  private boolean createdRemoteAds;
  private String lastImportProgress;
  /**
   * An static String that contains the class name of ConfigFileHandler.
@@ -1282,10 +1283,34 @@
        // TODO: implement the abort
      }
    };
    invokeLongOperation(thread);
    try
    {
      invokeLongOperation(thread);
    } catch (ApplicationException ae)
    {
      if (!isVerbose())
      {
        if (lastImportProgress != null)
        {
          notifyListeners(
              getFormattedProgress(Message.raw(lastImportProgress)));
          notifyListeners(getLineBreak());
        }
      }
      throw ae;
    }
    if (!isVerbose())
    {
      notifyListeners(getFormattedDoneWithLineBreak());
      if (lastImportProgress == null)
      {
        notifyListeners(getFormattedDoneWithLineBreak());
      }
      else
      {
        notifyListeners(
            getFormattedProgress(Message.raw(lastImportProgress)));
        notifyListeners(getLineBreak());
      }
    }
  }
@@ -4701,6 +4726,19 @@
    }
    return hostPort;
  }
  /**
   * {@inheritDoc}
   */
  protected void applicationPrintStreamReceived(String message)
  {
    InstallerHelper helper = new InstallerHelper();
    String parsedMessage = helper.getImportProgressMessage(message);
    if (parsedMessage != null)
    {
      lastImportProgress = parsedMessage;
    }
  }
}
/**