Files
narya/tests/bin/bant
T
Michael Bayne be313f8922 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:06:57 +00:00

15 lines
468 B
Bash
Executable File

#!/bin/sh
#
# Invokes ant with the necessary class to build the component 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 proper target
ant "$@" cbundles