Files
narya/tests/bin/bant
T
Michael Bayne 80dd2854e8 Get shared libraryes from JAVA_LIBS rather than /usr/share/java.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:34 +00:00

17 lines
507 B
Bash
Executable File

#!/bin/sh
#
# $Id: bant,v 1.3 2002/02/05 20:27:34 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 $JAVA_LIBS/*.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 "$@"