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

Gaetan Boismal
13.42.2015 a1c05a12054b831b0aead0bd5eac9c6bdac6a655
opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade/UpgradeUtils.java
@@ -91,6 +91,9 @@
      configDirectory + File.separator + Installation.SNMP_PATH_RELATIVE
          + File.separator + Installation.SECURITY_PATH_RELATIVE);
  /** The lib folder of the current installation. */
  static final File libDirectory = new File(getInstallationPath(), Installation.LIB_RELATIVE_PATH);
  /** The bin folder of the current installation. */
  static final File binDirectory = new File(getInstallationPath(), Installation.UNIX_BINARIES_PATH_RELATIVE);
@@ -265,6 +268,12 @@
    return getPath(new File(new File(parentPath), relativePath));
  }
  static File getFileForPath(String path)
  {
    final File f = new File(path);
    return f.isAbsolute() ? f : new File(getInstancePath() + File.separator + path);
  }
  /**
   * Determines whether one file is the parent of another.
   *