dsreplication.bat revision 8cf870d281dc8c242f083d14dfef05f24aa5fcee
2N/A
2N/A@echo off
2N/Arem CDDL HEADER START
2N/Arem
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
2N/Arem You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
2N/Arem or http://forgerock.org/license/CDDLv1.0.html.
2N/Arem See the License for the specific language governing permissions
2N/Arem and limitations under the License.
2N/Arem
2N/Arem When distributing Covered Code, include this CDDL HEADER in each
2N/Arem file and include the License file at legal-notices/CDDLv1_0.txt.
2N/Arem If applicable, add the following below this CDDL HEADER, with the
2N/Arem fields enclosed by brackets "[]" replaced with your own identifying
2N/Arem information:
2N/Arem Portions Copyright [yyyy] [name of copyright owner]
2N/Arem
2N/Arem CDDL HEADER END
2N/Arem
2N/Arem
2N/Arem Copyright 2008-2010 Sun Microsystems, Inc.
2N/Arem Portions Copyright 2011 ForgeRock AS
2N/A
2N/Asetlocal
2N/A
2N/Aset OPENDJ_INVOKE_CLASS="org.opends.server.tools.dsreplication.ReplicationCliMain"
if "%RECURSIVE_LOCAL_CALL%" == "true" goto callOffline
goto callOnline
:callOffline
set SCRIPT_ARGS=
set SCRIPT_NAME=dsreplication.offline
goto callScript
:callOnline
set SCRIPT_ARGS=-Dorg.opends.server.dsreplicationcallstatus=firstcall
set SCRIPT_NAME=dsreplication
goto callScript
:callScript
for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %*