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 You can obtain a copy of the license at
893N/Arem See the License for the specific language governing permissions
893N/Arem and limitations under the License.
893N/Arem When distributing Covered Code, include this CDDL HEADER in each
893N/Arem file and include the License file at
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]
893N/Arem Portions Copyright 2006-2007 Sun Microsystems, Inc.
893N/Arem This script is used to invoke various client-side processes. It should not
893N/Arem be invoked directly by end users.
893N/Afor %%i in (%~sf0) do set DIR_HOME=%%~dPsi..
893N/Aset INSTANCE_ROOT=%DIR_HOME%
893N/Aif "%OPENDS_INVOKE_CLASS%" == "" goto noInvokeClass
893N/Aecho Error: OPENDS_INVOKE_CLASS environment variable is not set.
893N/Aset SCRIPT_UTIL_CMD=set-full-environment
893N/Aif NOT %errorlevel% == 0 exit /B %errorlevel%
893N/A"%OPENDS_JAVA_BIN%" %OPENDS_JAVA_ARGS% %SCRIPT_NAME_ARG% %OPENDS_INVOKE_CLASS% %*