1060N/A
1060N/A@echo off
1060N/Arem CDDL HEADER START
1060N/Arem
1060N/Arem The contents of this file are subject to the terms of the
1060N/Arem Common Development and Distribution License, Version 1.0 only
1060N/Arem (the "License"). You may not use this file except in compliance
1060N/Arem with the License.
1060N/Arem
1060N/Arem You can obtain a copy of the license at
1060N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE
1060N/Arem or https://OpenDS.dev.java.net/OpenDS.LICENSE.
1060N/Arem See the License for the specific language governing permissions
1060N/Arem and limitations under the License.
1060N/Arem
1060N/Arem When distributing Covered Code, include this CDDL HEADER in each
1060N/Arem file and include the License file at
1060N/Arem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
1060N/Arem add the following below this CDDL HEADER, with the fields enclosed
1060N/Arem by brackets "[]" replaced with your own identifying information:
1060N/Arem Portions Copyright [yyyy] [name of copyright owner]
1060N/Arem
1060N/Arem CDDL HEADER END
1060N/Arem
1060N/Arem
4495N/Arem Copyright 2006-2009 Sun Microsystems, Inc.
5728N/Arem Portions Copyright 2011-2012 ForgeRock AS
1060N/A
1060N/Asetlocal
1060N/A
3831N/Afor %%i in (%~sf0) do set NON_ESCAPED=%%~dPsi..
3831N/A
3831N/AFOR /F "tokens=1-2* delims=%%" %%1 IN ("%NON_ESCAPED%") DO (
3831N/Aif NOT "%%2" == "" goto invalidPath)
3831N/A
5728N/Afor %%i in (%~sf0) do set DIR_HOME=%%~dPsi..
5728N/Aset INSTALL_ROOT=%DIR_HOME%
3831N/A
3831N/Aset INSTANCE_DIR=
3831N/Afor /f "delims=" %%a in (%INSTALL_ROOT%\instance.loc) do (
3831N/A set INSTANCE_DIR=%%a
3831N/A)
5728N/A
5728N/Aset CUR_DIR=%CD%
3842N/Acd /d %INSTALL_ROOT%
3842N/Acd /d %INSTANCE_DIR%
3831N/Aset INSTANCE_ROOT=%CD%
3842N/Acd /d %CUR_DIR%
3831N/A
5636N/Aset OPENDJ_INVOKE_CLASS="org.opends.server.tools.makeldif.MakeLDIF"
2976N/Aset SCRIPT_NAME=make-ldif
3831N/A"%INSTALL_ROOT%\lib\_server-script.bat" --resourcePath "%INSTANCE_ROOT%\config\MakeLDIF" %*
1060N/A