Fresh start without too many jars

This commit is contained in:
Dan Buch
2012-01-02 00:32:34 -05:00
commit 3b82919d3e
12 changed files with 371 additions and 0 deletions

13
bin/processing-commander Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
TOP="$(dirname $(dirname $(readlink -f -- "$0")))"
CP="$CLASSPATH"
CP="$TOP/lib/$(uname -a)/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 "$@"

13
bin/prochome-check Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ -z "$PROCESSING_HOME" ]; then
cat >&2 <<EOM
----------------------------------------------------------------------------
ERROR: You must define "\$PROCESSING_HOME" for the ant build to succeed.
----------------------------------------------------------------------------
EOM
exit 1
else
echo "Looks like PROCESSING_HOME is set to \"$PROCESSING_HOME\"."
exit 0
fi