1N/Arem CDDL HEADER START
1N/Arem The contents of this file are subject to the terms of the
1N/Arem Common Development and Distribution License, Version 1.0 only
1N/Arem (the "License"). You may not use this file except in compliance
1N/Arem with the License.
1N/Arem You can obtain a copy of the license at
1N/Arem See the License for the specific language governing permissions
1N/Arem and limitations under the License.
1N/Arem When distributing Covered Code, include this CDDL HEADER in each
1N/Arem file and include the License file at
1N/Arem add the following below this CDDL HEADER, with the fields enclosed
1N/Arem by brackets "[]" replaced with your own identifying information:
1N/Arem Portions Copyright [yyyy] [name of copyright owner]
1N/Arem Portions Copyright 2006-2007 Sun Microsystems, Inc.
1N/Arem This script is used to invoke various server-side processes. It should not
1N/Arem be invoked directly by end users.
1N/Aset INSTANCE_ROOT=%DIR_HOME%
1N/Aif "%OPENDS_INVOKE_CLASS%" == "" goto noInvokeClass
1N/Aecho Error: OPENDS_INVOKE_CLASS environment variable is not set.
1N/Aif "%JAVA_BIN%" == "" goto noJavaBin
1N/Aif "%JAVA_HOME%" == "" goto noJavaHome
1N/Aecho Error: JAVA_HOME environment variable is not set.
1N/Aecho Please set it to a valid Java 5 (or later) installation.
1N/AFOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bat\
setcp.bat" %%x
1N/Aset PATH=%SystemRoot%
1N/A"%JAVA_BIN%" %JAVA_ARGS% %SCRIPT_NAME_ARG% %OPENDS_INVOKE_CLASS% %*