| | |
| | | import org.opends.messages.ReplicationMessages; |
| | | |
| | | import static org.opends.messages.QuickSetupMessages.*; |
| | | import static com.forgerock.opendj.util.OperatingSystem.isWindows; |
| | | |
| | | import org.opends.server.tools.ConfigureDS; |
| | | import org.opends.server.tools.ConfigureWindowsService; |
| | |
| | | |
| | | /** |
| | | * This is the only class that uses classes in org.opends.server (excluding the |
| | | * case of DynamicConstants, SetupUtils, OperatingSystem and CertificateManager |
| | | * case of DynamicConstants, SetupUtils and CertificateManager |
| | | * which are already included in quicksetup.jar). |
| | | * |
| | | * Important note: do not include references to this class until OpenDS.jar has |
| | |
| | | File installPath = new File(application.getInstallationPath()); |
| | | ArrayList<String> argList = new ArrayList<String>(); |
| | | File binPath; |
| | | if (Utils.isWindows()) |
| | | if (isWindows()) |
| | | { |
| | | binPath = |
| | | new File(installPath, Installation.WINDOWS_BINARIES_PATH_RELATIVE); |
| | |
| | | new File(installPath, Installation.UNIX_BINARIES_PATH_RELATIVE); |
| | | } |
| | | File importPath; |
| | | if (Utils.isWindows()) |
| | | if (isWindows()) |
| | | { |
| | | importPath = new File(binPath, Installation.WINDOWS_IMPORT_LDIF); |
| | | } else |
| | |
| | | { |
| | | fLib.mkdir(); |
| | | } |
| | | if (Utils.isWindows()) |
| | | if (isWindows()) |
| | | { |
| | | destinationFile = Utils.getPath(libDir, |
| | | Installation.SET_JAVA_PROPERTIES_FILE_WINDOWS); |