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 You can obtain a copy of the license at
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
481N/Arem file and include the License file at
481N/Arem add the following below this CDDL HEADER, with the fields enclosed
481N/Arem by brackets "[]" replaced with your own identifying * information:
481N/Arem Portions Copyright [yyyy] [name of copyright owner]
481N/Arem Portions Copyright 2006 Sun Microsystems, Inc.
481N/Arem This script is used to invoke various server-side processes. It should not
481N/Arem be invoked directly by end users.
481N/Aset INSTANCE_ROOT=%DIR_HOME%
481N/Aif "%OPENDS_INVOKE_CLASS%" == "" goto noInvokeClass
481N/Aecho Error: OPENDS_INVOKE_CLASS environment variable is not set.
481N/Aif "%JAVA_BIN%" == "" goto noJavaBin
481N/Aif "%JAVA_HOME%" == "" goto noJavaHome
481N/Aecho Error: JAVA_HOME environment variable is not set.
481N/Aecho Please set it to a valid Java 5 installation.
481N/AFOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bin\
setcp.bat" %%x
481N/A%JAVA_BIN% %JAVA_ARGS% %OPENDS_INVOKE_CLASS% %*