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/ldapcompare.bat |   26 ++------------------------
 1 files changed, 2 insertions(+), 24 deletions(-)

diff --git a/opends/resource/bin/ldapcompare.bat b/opends/resource/bin/ldapcompare.bat
index db184c1..158145f 100755
--- a/opends/resource/bin/ldapcompare.bat
+++ b/opends/resource/bin/ldapcompare.bat
@@ -27,28 +27,6 @@
 
 setlocal
 
-set DIR_HOME=%~dP0..
-
-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
-
-%JAVA_BIN% %JAVA_ARGS% -classpath "%CLASSPATH%" org.opends.server.tools.LDAPCompare %*
-
-
-:end
+set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPCompare"
+call %~dP0\_client-script.bat %*
 

--
Gitblit v1.10.0