#!/bin/sh # Copyright 2001-2005 Geert Bevin # Distributed under the terms of either: # - the common development and distribution license (CDDL), v1.0; or # - the GNU Lesser General Public License, v2.1 or later # $Id$ PROGDIR="`dirname $0`" case "${PROGDIR}" in [^/]*) export PROGDIR="`pwd`/${PROGDIR}" ;; esac export ANT_HOME="${PROGDIR}/lib/ant-1.6.2" export PATH="${ANT_HOME}/bin:${PATH}" echo "Using ant $(which ant)" if [ ! "$*" ]; then ant -f build-1.5.xml else ant -f build-1.5.xml $@ fi