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

jvergara
08.32.2007 ee3642c86959b44af3ff0e9fde9950a966527596
opends/src/guitools/org/opends/guitools/uninstaller/UninstallLauncher.java
File was renamed from opends/src/quicksetup/org/opends/quicksetup/uninstaller/UninstallLauncher.java
@@ -25,7 +25,7 @@
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.quicksetup.uninstaller;
package org.opends.guitools.uninstaller;
import static org.opends.server.messages.ToolMessages.*;
import static org.opends.server.tools.ToolConstants.*;
@@ -33,6 +33,7 @@
import java.io.File;
import java.util.logging.Logger;
import org.opends.guitools.i18n.ResourceProvider;
import org.opends.quicksetup.CliApplication;
import org.opends.quicksetup.Launcher;
import org.opends.quicksetup.Installation;
@@ -69,7 +70,9 @@
  public static void main(String[] args) {
    try {
      QuickSetupLog.initLogFileHandler(
              File.createTempFile(LOG_FILE_PREFIX, LOG_FILE_SUFFIX));
              File.createTempFile(LOG_FILE_PREFIX, LOG_FILE_SUFFIX),
              "org.opends.guitools.uninstaller");
    } catch (Throwable t) {
      System.err.println("Unable to initialize log");
      t.printStackTrace();
@@ -149,7 +152,7 @@
  protected void willLaunchGui() {
    System.out.println(getMsg("uninstall-launcher-launching-gui"));
    System.setProperty("org.opends.quicksetup.Application.class",
            "org.opends.quicksetup.uninstaller.Uninstaller");
            org.opends.guitools.uninstaller.Uninstaller.class.getName());
  }
  /**
@@ -166,4 +169,11 @@
    return getI18n().getMsg("frame-uninstall-title");
  }
  /**
   * {@inheritDoc}
   */
  protected ResourceProvider getI18n()
  {
    return ResourceProvider.getInstance();
  }
}