#!/bin/sh # Copyright 2001-2008 Geert Bevin # Licensed under the Apache License, Version 2.0 (the "License") # $Id$ PROGDIR="`dirname $0`" case "${PROGDIR}" in [^/]*) export PROGDIR="`pwd`/${PROGDIR}" ;; esac export ANT_HOME="${PROGDIR}/lib/ant-1.7.0" export PATH="${ANT_HOME}/bin:${PATH}" echo "Using ant $(which ant)" if [ ! "$*" ]; then ant else ant $@ fi