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