From 3aea921de15933628ff1ac9f9b234a16b55ead35 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 27 Oct 2006 17:06:48 +0000
Subject: [PATCH] Make a number of changes to administrative batch files for Windows systems:

---
 opends/resource/bin/verify-index.bat |   29 ++---------------------------
 1 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/opends/resource/bin/verify-index.bat b/opends/resource/bin/verify-index.bat
index ea25a23..51f74a8 100644
--- a/opends/resource/bin/verify-index.bat
+++ b/opends/resource/bin/verify-index.bat
@@ -27,31 +27,6 @@
 
 setlocal
 
-set DIR_HOME=%~dP0..
-set INSTANCE_ROOT=%DIR_HOME%
-
-if "%JAVA_BIN%" == "" goto noJavaBin
-goto setClassPath
-
-:noJavaBin
-if "%JAVA_HOME%" == "" goto noJavaHome
-if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
-set JAVA_BIN="%JAVA_HOME%\bin\java.exe"
-goto setClassPath
-
-:noJavaHome
-echo Error: JAVA_HOME environment variable is not set.
-echo        Please set it to a valid Java 5 installation.
-goto end
-
-
-:setClassPath
-FOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bin\setcp.bat" %%x
-
-cd %DIR_HOME%
-
-%JAVA_BIN% %JAVA_ARGS% -classpath "%CLASSPATH%" org.opends.server.tools.VerifyIndex --configClass org.opends.server.extensions.ConfigFileHandler --configFile "%DIR_HOME%\config\config.ldif" %*
-
-
-:end
+set OPENDS_INVOKE_CLASS="org.opends.server.tools.VerifyIndex"
+call %~dP0\_server-script.bat %*
 

--
Gitblit v1.10.0