#!/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 "$@"