#!/bin/ksh

# $Id$

dirsToProcess="\
    lib \
"

for d in $dirsToProcess; do
    # alguns diretórios (p.ex. junit) podem não existir no ambiente de
    # produção
    test -d $d || continue
    DIR=$(print $d | tr "[a-z]" "[A-Z]")
    files=$(find $d -type d -name .svn -prune -o -type f -print)
    eval "export JAR_$DIR=\"$(print $files | tr ' ' ':')\""
done

java -Xbootclasspath/a:$JAR_LIB -cp console.jar csbase.console.Statistics $*