make-ldif revision 6983
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# CDDL HEADER START
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# The contents of this file are subject to the terms of the
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Common Development and Distribution License, Version 1.0 only
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# (the "License"). You may not use this file except in compliance
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# with the License.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# or http://forgerock.org/license/CDDLv1.0.html.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# See the License for the specific language governing permissions
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# and limitations under the License.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# When distributing Covered Code, include this CDDL HEADER in each
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# file and include the License file at legal-notices/CDDLv1_0.txt.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# information:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Portions Copyright [yyyy] [name of copyright owner]
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# CDDL HEADER END
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Copyright 2006-2008 Sun Microsystems, Inc.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Portions Copyright 2011-2013 ForgeRock AS
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# This script may be used to generate LDIF data based on a provided template.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontOPENDJ_INVOKE_CLASS="org.opends.server.tools.makeldif.MakeLDIF"
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Set environment variables
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont. "${INSTALL_ROOT}/lib/_script-util.sh"
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontcd "${WORKING_DIR}"
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont"${SCRIPT_DIR}/../lib/_server-script.sh" \
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont --resourcePath "${INSTANCE_ROOT}/config/MakeLDIF" "${@}"