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