Abandoning the architecture nonsense now that jars are not tracked.

This commit is contained in:
Dan Buch 2012-01-02 01:11:50 -05:00
parent 8bbee73f6c
commit a863dc99fc
3 changed files with 5 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.class
lib/*
lib/preferences.txt

View File

@ -2,7 +2,6 @@
set -e
TOP="$(dirname $(dirname $(readlink -f -- "$0")))"
$TOP/bin/prochome-check >/dev/null
if [ ! -f "$TOP/lib/preferences.txt" ]; then
@ -10,7 +9,7 @@ if [ ! -f "$TOP/lib/preferences.txt" ]; then
fi
CP="$CLASSPATH"
CP="$TOP/lib/$(uname -m)/mbh-processing-practice.jar:$CP"
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"

View File

@ -1,16 +1,15 @@
<project name="practicing-processing" basedir="." default="jar">
<property environment="env" />
<target name="prochome-check">
<target name="envcheck">
<exec executable="./bin/prochome-check" failonerror="true" />
</target>
<target name="jar" depends="build" description="Jar Up All The Things">
<jar destfile="lib/${os.arch}/mbh-processing-practice.jar"
basedir="build" />
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
</target>
<target name="build" depends="prochome-check" description="Build All The Things">
<target name="build" depends="envcheck" description="Build All The Things">
<javac srcdir="src" destdir="build" includeantruntime="false" debug="on">
<classpath>
<pathelement location="${env.PROCESSING_HOME}/lib/pde.jar" />