_client-script.bat revision a3d3ab94806056d2355afea6fe8daac41059b9fb
5767N/A
5767N/A@echo off
5767N/Arem CDDL HEADER START
5767N/Arem
5767N/Arem The contents of this file are subject to the terms of the
5767N/Arem Common Development and Distribution License, Version 1.0 only
5767N/Arem (the "License"). You may not use this file except in compliance
5767N/Arem with the License.
5767N/Arem
6982N/Arem You can obtain a copy of the license at
6982N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE
5767N/Arem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
5767N/Arem See the License for the specific language governing permissions
5767N/Arem and limitations under the License.
6982N/Arem
5767N/Arem When distributing Covered Code, include this CDDL HEADER in each
6982N/Arem file and include the License file at
6982N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
6982N/Arem add the following below this CDDL HEADER, with the fields enclosed
6982N/Arem by brackets "[]" replaced with your own identifying information:
5767N/Arem Portions Copyright [yyyy] [name of copyright owner]
5767N/Arem
5767N/Arem CDDL HEADER END
5767N/Arem
5767N/Arem
5767N/Arem Copyright 2006-2008 Sun Microsystems, Inc.
5767N/A
5767N/Arem This script is used to invoke various client-side processes. It should not
5767N/Arem be invoked directly by end users.
5767N/A
5767N/Asetlocal
5767N/Afor %%i in (%~sf0) do set DIR_HOME=%%~dPsi..
5767N/Aset INSTANCE_ROOT=%DIR_HOME%
5767N/A
5767N/Aif "%OPENDS_INVOKE_CLASS%" == "" goto noInvokeClass
5767N/Agoto launchCommand
5767N/A
5767N/A:noInvokeClass
5767N/Aecho Error: OPENDS_INVOKE_CLASS environment variable is not set.
5767N/Apause
5767N/Agoto end
5767N/A
5770N/A:launchCommand
5770N/Aset SCRIPT_UTIL_CMD=set-full-environment
5767N/Acall "%INSTANCE_ROOT%\lib\_script-util.bat"
5767N/Aif NOT %errorlevel% == 0 exit /B %errorlevel%
5767N/A
5767N/A"%OPENDS_JAVA_BIN%" %OPENDS_JAVA_ARGS% %SCRIPT_NAME_ARG% %OPENDS_INVOKE_CLASS% %*
5767N/A
5767N/A:end
5767N/A
5767N/A