Files
narya/tests/bin/bant
T
Michael Bayne 277d622ef7 Changed name to bant as it's now used to do all bundle building.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:35 +00:00

17 lines
512 B
Bash
Executable File

#!/bin/sh
#
# $Id: bant,v 1.2 2001/11/29 00:19:35 mdb Exp $
#
# Invokes ant with the necessary classpath to build the bundles.
BINDIR=`dirname $0`
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
SYSTEMCP=`echo /usr/share/java/*.jar | tr ' ' ':'`
# add all JAR files in /usr/share/ant/lib/ to CLASSPATH
PROJECTCP=`echo $BINDIR/../../lib/*.jar | tr ' ' ':'`
# also add narya.jar
export CLASSPATH=$BINDIR/../../dist/narya.jar:$PROJECTCP:$SYSTEMCP
# and invoke ant with the passed through targets
ant "$@"