setup revision 66f6c6680ec1673ff6f1094a9e2b74967dd6bfb7
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
685292a24e42a23ca4fa7cc467398ce10fcfd453JucaBlues# The contents of this file are subject to the terms
685292a24e42a23ca4fa7cc467398ce10fcfd453JucaBlues# of the Common Development and Distribution License
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# (the License). You may not use this file except in
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# compliance with the License.
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# You can obtain a copy of the License at
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# https://opensso.dev.java.net/public/CDDLv1.0.html or
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# See the License for the specific language governing
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# permission and limitations under the License.
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# When distributing Covered Code, include this CDDL
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# Header Notice in each file and include the License file
348f08f93801f357b80cb5d3ad7c5b38dc8c4e53nicholasbishop# If applicable, add the following below the CDDL Header,
75d2a56fc2c5b0d39e545d42909d64c3847cd68dnicholasbishop# with the fields enclosed by brackets [] replaced by
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# your own identifying information:
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# "Portions Copyrighted [year] [name of copyright owner]"
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental# $Id: setup,v 1.11 2009/01/28 05:34:46 ww203982 Exp $
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmentalif [ -z "${JAVA_HOME}" ]; then
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental echo "Please define JAVA_HOME environment variable before running this program"
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental echo "setup program will use the JVM defined in JAVA_HOME for all the CLI tools"
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental echo "The defined JAVA_HOME environment variable is not correct"
6e369d7e74c36e07f5fb1e27d37923fbed7dd89cmental echo "setup program will use the JVM defined in JAVA_HOME for all the CLI tools"
6242234aa1e72febb8d84767b4ff4a46912d8b9fjucabluesif [ -z $AWK ]; then
22cc3601360714cfef103dcf24a07439c99c56e2nicholasbishop echo "setup fails because awk is not found"
063bb27bebc4a01eefa879017c819a0058548955mentalJAVA_VER=`${JAVA_HOME}/bin/java -version 2>&1 | $AWK -F'"' '{print $2}'`
e8adb186c1baa5b521802b4a9128e27e4e181bf7nicholasbishop echo "This program is designed to work with 1.4 or newer JRE."
97aa2c127aec1580cca1fcbe303253df3029df39nicholasbishopCLASSPATH="lib/openam-distribution-amadmsetup-10.1.0-SNAPSHOT.jar"
97aa2c127aec1580cca1fcbe303253df3029df39nicholasbishopCLASSPATH="${CLASSPATH}:lib/opendj-server-2.4.6.jar"
97aa2c127aec1580cca1fcbe303253df3029df39nicholasbishopCLASSPATH="${CLASSPATH}:lib/json-20090211.jar"
97aa2c127aec1580cca1fcbe303253df3029df39nicholasbishopCLASSPATH="${CLASSPATH}:lib/xercesImpl-2.10.0.jar"
97aa2c127aec1580cca1fcbe303253df3029df39nicholasbishopCLASSPATH="${CLASSPATH}:lib/xml-apis-1.4.01.jar"
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishopCLASSPATH="${CLASSPATH}:lib/openam-core-10.1.0-SNAPSHOT.jar"
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishopCLASSPATH="${CLASSPATH}:lib/openam-shared-10.1.0-SNAPSHOT.jar"
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishopCLASSPATH="${CLASSPATH}:lib/openam-dtd-schema-10.1.0-SNAPSHOT.jar"
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishopCLASSPATH="${CLASSPATH}:lib/openam-rest-10.1.0-SNAPSHOT.jar"
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishop${JAVA_HOME}/bin/java -D"load.config=yes" -D"help.print=${help_print}" \
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishop -D"path.AMConfig=${path_AMConfig}" -D"path.debug=${path_debug}" \
77e0947f5d14388f467e663e9f84e933ccfc0b80nicholasbishop -D"path.log=${path_log}" \