3853N/Arem The contents of this file are subject to the terms of the
3853N/Arem Common Development and Distribution License, Version 1.0 only
3853N/Arem (the "License"). You may not use this file except in compliance
3853N/Arem You can obtain a copy of the license at
3853N/Arem See the License for the specific language governing permissions
3853N/Arem and limitations under the License.
3853N/Arem When distributing Covered Code, include this CDDL HEADER in each
3853N/Arem file and include the License file at
3853N/Arem add the following below this CDDL HEADER, with the fields enclosed
3853N/Arem by brackets "[]" replaced with your own identifying information:
3853N/Arem Portions Copyright [yyyy] [name of copyright owner]
4495N/Arem Copyright 2006-2009 Sun Microsystems, Inc.
5728N/Arem Portions Copyright 2011-2012 ForgeRock AS
3853N/Afor %%i in (%~sf0) do set DIR_HOME=%%~dPsi..
6302N/Aif "%INSTANCE_ROOT%" == "" (
6302N/A set INSTANCE_ROOT=%INSTALL_ROOT%
3853N/Aset SCRIPT_NAME=control-panel
3853N/Arem Set environment variables
3853N/Aset SCRIPT_UTIL_CMD=set-full-environment
3853N/Aif NOT %errorlevel% == 0 exit /B %errorlevel%
3853N/Aif "%~1" == "" goto callLaunch
3853N/Aif %errorlevel% == 50 goto version
3853N/Arem version information was requested. Return code should be 0.