#!/bin/sh # # junit -- script for invoking junit's graphical interface # # SYNOPSIS: set CLASSPATH and run junit # If needed, change the following configuration parameters for your system # by changing what is to the right of the equals sign (=) on the next 5 defs : ${PATHSEP=';'} # change to ':' for Unix : ${FILESEP="\\"} # change to "/" for Unix : ${JUNITDIR=`cygpath -wa "/usr/local/junit"`} # local home of JUnit CLASSPATH="${CLASSPATH}${PATHSEP}${JUNITDIR}${FILESEP}junit.jar" export CLASSPATH # You can use `java' or `jre -classpath "$CLASSPATH"' below # but these have to be in your PATH exec java -mx256m junit.swingui.TestRunner "$@"