#! /bin/sh # OS specific support. $var _must_ be set to either true or false. cygwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; esac # path from class files. PROJECTROOT=../ CP=$PROJECTROOT/build:$PROJECTROOT/build-bcel:$PROJECTROOT/lib/regexp.jar:$PROJECTROOT/lib/getopt.jar AFLAGS="" JFLAGS="-Xss100M -Xmx768M" DIR="" GET_DIR="" while [ -n "$1" ]; do case "$1" in -x) DIR=$2 GET_DIR=1 shift 2 ;; -*) AFLAGS="$AFLAGS $1" shift ;; *) AFLAGS="$AFLAGS $1" shift ;; esac done if [ $GET_DIR ]; then files=`find "$DIR" -name "*.class" | sed 's/\\$/\\\\$/g'` fi if $cygwin; then JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` CP=`cygpath --path --windows "$CP"` fi java $JFLAGS -cp "$CP" fr.lifl.stc.stan.tools.signatureAnalyser.SignatureAnalyser $AFLAGS $* $files