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