opends/src/server/org/opends/server/tools/CreateRCScript.java
@@ -37,10 +37,8 @@ import org.opends.messages.Message; import org.opends.server.core.DirectoryServer; import org.opends.server.types.FilePermission; import org.opends.server.types.InitializationException; import org.opends.server.types.NullOutputStream; import org.opends.server.types.OperatingSystem; import org.opends.server.util.BuildVersion; import org.opends.server.util.EmbeddedUtils; import org.opends.server.util.SetupUtils; import org.opends.server.util.args.ArgumentParser; @@ -193,17 +191,6 @@ return 0; } // Checks the version - if upgrade required, the tool is unusable try { BuildVersion.checkVersionMismatch(); } catch (InitializationException e) { err.println(wrapText(e.getMessage(), MAX_LINE_WIDTH)); return 1; } // Determine the path to the Java installation that should be used. String javaHomeDir; if (javaHome.isPresent()) opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java
@@ -40,10 +40,8 @@ import org.opends.server.core.DirectoryServer; import org.opends.server.types.AttributeType; import org.opends.server.types.ExistingFileBehavior; import org.opends.server.types.InitializationException; import org.opends.server.types.LDIFExportConfig; import org.opends.server.types.NullOutputStream; import org.opends.server.util.BuildVersion; import org.opends.server.util.LDIFWriter; import org.opends.server.util.args.ArgumentException; import org.opends.server.util.args.ArgumentParser; @@ -246,17 +244,6 @@ return 0; } // Checks the version - if upgrade required, the tool is unusable try { BuildVersion.checkVersionMismatch(); } catch (InitializationException e) { err.println(wrapText(e.getMessage(), MAX_LINE_WIDTH)); return 1; } if (initializeServer) { // Initialize the Directory Server configuration handler using the