21 lines
508 B
Bash
Executable File
21 lines
508 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
TOP="$(dirname $(dirname $(readlink -f -- "$0")))"
|
|
$TOP/bin/prochome-check >/dev/null
|
|
|
|
if [ ! -f "$TOP/lib/preferences.txt" ]; then
|
|
cp "$TOP/lib/preferences.txt.stub" "$TOP/lib/preferences.txt"
|
|
fi
|
|
|
|
CP="$CLASSPATH"
|
|
CP="$TOP/lib/mbh-processing-practice.jar:$CP"
|
|
for procjar in "lib/core" "lib/pde" "java/lib/tools" "java/lib/rt"
|
|
do
|
|
CP="$PROCESSING_HOME/$procjar.jar:$CP"
|
|
done
|
|
|
|
test -n "$DEBUG" && echo "DEBUG:CP=$CP"
|
|
|
|
java -cp "$CP" com.meatballhat.processing.ProcessingRunner "$@"
|