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