configure revision d319724fed3be916a9f68676aac6eb203d44b551
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# CDDL HEADER START
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# The contents of this file are subject to the terms of the
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# Common Development and Distribution License, Version 1.0 only
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# (the "License"). You may not use this file except in compliance
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# with the License.
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# You can obtain a copy of the license at
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# trunk/opends/resource/legal-notices/OpenDS.LICENSE
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# See the License for the specific language governing permissions
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# and limitations under the License.
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# When distributing Covered Code, include this CDDL HEADER in each
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# file and include the License file at
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# add the following below this CDDL HEADER, with the fields enclosed
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# by brackets "[]" replaced with your own identifying information:
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# Portions Copyright [yyyy] [name of copyright owner]
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# CDDL HEADER END
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glass# Copyright 2006-2008 Sun Microsystems, Inc.
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glass# Capture the current working directory so that we can change to it later.
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glass# Then capture the location of this script and the Directory Server instance
12928e8d8ffd8a265174db6c3dc588929e4d6087Reid Burke# root so that we can use them to create appropriate paths.
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glasscd "${WORKING_DIR}"
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glass# Set environment variables
6ce3d0e6f54e83435f626ee7f819f09805f2f9a0Dav Glass. "${INSTALL_ROOT}/lib/_script-util.sh"
c6e42f10a2fe0393820d08f7e0cda61a8487825fReid Burke# Launch the configure process.
6263d1dafcd2e21b4db703e59b8651bdc04907bcDav Glass"${OPENDS_JAVA_BIN}" ${OPENDS_JAVA_ARGS} ${SCRIPT_NAME_ARG} -DINSTALL_ROOT=${INSTALL_ROOT} org.opends.quicksetup.configurator.Configurator "${@}"
c6e42f10a2fe0393820d08f7e0cda61a8487825fReid Burke# return part
c6e42f10a2fe0393820d08f7e0cda61a8487825fReid Burke # Version info was on requested