2471N/A
2471N/A@echo off
2471N/Arem CDDL HEADER START
2471N/Arem
2471N/Arem The contents of this file are subject to the terms of the
2471N/Arem Common Development and Distribution License, Version 1.0 only
2471N/Arem (the "License"). You may not use this file except in compliance
2471N/Arem with the License.
2471N/Arem
2471N/Arem You can obtain a copy of the license at
2471N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE
2471N/Arem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
2471N/Arem See the License for the specific language governing permissions
2471N/Arem and limitations under the License.
2471N/Arem
2471N/Arem When distributing Covered Code, include this CDDL HEADER in each
2471N/Arem file and include the License file at
2471N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
2471N/Arem add the following below this CDDL HEADER, with the fields enclosed
2471N/Arem by brackets "[]" replaced with your own identifying information:
2471N/Arem Portions Copyright [yyyy] [name of copyright owner]
2471N/Arem
2471N/Arem CDDL HEADER END
2471N/Arem
2471N/Arem
5236N/Arem Copyright 2008-2010 Sun Microsystems, Inc.
5636N/Arem Portions Copyright 2011 ForgeRock AS
2471N/A
2471N/Asetlocal
2471N/A
5636N/Aset OPENDJ_INVOKE_CLASS="org.opends.server.tools.dsreplication.ReplicationCliMain"
5236N/Aif "%RECURSIVE_LOCAL_CALL%" == "true" goto callOffline
5236N/Agoto callOnline
5236N/A
5236N/A:callOffline
5236N/Aset SCRIPT_ARGS=
5236N/Aset SCRIPT_NAME=dsreplication.offline
5236N/Agoto callScript
5236N/A
5236N/A:callOnline
5236N/Aset SCRIPT_ARGS=-Dorg.opends.server.dsreplicationcallstatus=firstcall
2976N/Aset SCRIPT_NAME=dsreplication
5236N/Agoto callScript
5236N/A
5236N/A:callScript
5236N/Afor %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %*