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

Matthew Swift
25.12.2013 96fe0fd070edb7a676a682630e273168614fd61e
Fix OPENDJ-1014: QuickSetup: replace "OpenDJ" with "opendj" in the installation path
1 files modified
6 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 6 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -28,6 +28,7 @@
package org.opends.quicksetup.util;
import static org.opends.messages.QuickSetupMessages.*;
import static org.opends.server.util.DynamicConstants.SHORT_NAME;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
@@ -669,9 +670,8 @@
  public static String getDefaultServerLocation()
  {
    String userDir = System.getProperty("user.home");
    String firstLocation =
        userDir + File.separator
            + org.opends.server.util.DynamicConstants.SHORT_NAME;
    String firstLocation = userDir + File.separator
        + SHORT_NAME.toLowerCase(Locale.ENGLISH);
    String serverLocation = firstLocation;
    int i = 1;
    while (fileExists(serverLocation)