build revision d81978a0815d5b8a75633c35e3e1f8708d36f017
7f4ac5a4cd99a9cae866b5908e358bd932736307chrisd# CDDL HEADER START
832853bb93c1831daf24e4727c5ca0e1b1786e83lars# The contents of this file are subject to the terms of the
832853bb93c1831daf24e4727c5ca0e1b1786e83lars# Common Development and Distribution License, Version 1.0 only
d2696ac6757b3d8bdaa27634a141ac8c8a045e08fielding# (the "License"). You may not use this file except in compliance
d2696ac6757b3d8bdaa27634a141ac8c8a045e08fielding# with the License.
d2696ac6757b3d8bdaa27634a141ac8c8a045e08fielding# You can obtain a copy of the license at
d2696ac6757b3d8bdaa27634a141ac8c8a045e08fielding# See the License for the specific language governing permissions
1782dcd420de504978945e6b812523eeae6d56a2lars# and limitations under the License.
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# When distributing Covered Code, include this CDDL HEADER in each
59dc8d935dbf862712683bbc9e267bd08ced0b14fielding# file and include the License file at
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# add the following below this CDDL HEADER, with the fields enclosed
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# information:
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# Portions Copyright [yyyy] [name of copyright owner]
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# CDDL HEADER END
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# Copyright 2008 Sun Microsystems, Inc.
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# Change to the location of this build script.
9e152751ed380f87c5ecae4fb0221c956e5fbd24rjung# See if JAVA_HOME is set. If not, then see if there is a java executable in
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# the path and try to figure it out.
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluemif test -z "${JAVA_HOME}"
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem if test -z "${JAVA_HOME}"
382d14411b582d97075a836190d74c778977505fcovener echo "Please set JAVA_HOME to the root of a Java 5.0 installation."
abc69b39766c0de3eaf99e9016ea3f35e23c116drpluem# Execute the ant script and pass it any additional command-line arguments.