481N/Arem The contents of this file are subject to the terms of the
481N/Arem Common Development and Distribution License, Version 1.0 only
481N/Arem (the "License"). You may not use this file except in compliance
481N/Arem See the License for the specific language governing permissions
481N/Arem and limitations under the License.
481N/Arem When distributing Covered Code, include this CDDL HEADER in each
6983N/Arem If applicable, add the following below this CDDL HEADER, with the
6983N/Arem fields enclosed by brackets "[]" replaced with your own identifying
481N/Arem Portions Copyright [yyyy] [name of copyright owner]
5236N/Arem Copyright 2006-2010 Sun Microsystems, Inc.
5728N/Arem Portions Copyright 2011-2012 ForgeRock AS
1878N/Arem This script is used to invoke various client-side processes. It should not
481N/Arem be invoked directly by end users.
1920N/Afor %%i in (%~sf0) do set DIR_HOME=%%~dPsi..
5636N/Aif "%OPENDJ_INVOKE_CLASS%" == "" goto noInvokeClass
5636N/Aecho Error: OPENDJ_INVOKE_CLASS environment variable is not set.
2976N/Aset SCRIPT_UTIL_CMD=set-full-environment
2976N/Aif NOT %errorlevel% == 0 exit /B %errorlevel%
5636N/A"%OPENDJ_JAVA_BIN%" %OPENDJ_JAVA_ARGS% %SCRIPT_ARGS% %SCRIPT_NAME_ARG% %OPENDJ_INVOKE_CLASS% %*