#!/bin/bash # # Start prototype IndexFiles with correct CLASSPATH # # $Author: bablokb $ # $Revision: 1.3 $ # # License: GPL2 # ----------------------------------------------------------------------------- addjars() { for d in $@; do jars=`find $d -name "*.jar" -maxdepth 1` for f in $jars; do cp=$cp:$f done done export CLASSPATH=$cp:$CLASSPATH } addjars lib java -cp build/classes:$CLASSPATH de.bablokb.luala.prototype.IndexFiles "$@"