Abandoning the architecture nonsense now that jars are not tracked.
This commit is contained in:
parent
8bbee73f6c
commit
a863dc99fc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*.class
|
*.class
|
||||||
|
lib/*
|
||||||
lib/preferences.txt
|
lib/preferences.txt
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
TOP="$(dirname $(dirname $(readlink -f -- "$0")))"
|
TOP="$(dirname $(dirname $(readlink -f -- "$0")))"
|
||||||
|
|
||||||
$TOP/bin/prochome-check >/dev/null
|
$TOP/bin/prochome-check >/dev/null
|
||||||
|
|
||||||
if [ ! -f "$TOP/lib/preferences.txt" ]; then
|
if [ ! -f "$TOP/lib/preferences.txt" ]; then
|
||||||
@ -10,7 +9,7 @@ if [ ! -f "$TOP/lib/preferences.txt" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CP="$CLASSPATH"
|
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"
|
for procjar in "lib/core" "lib/pde" "java/lib/tools" "java/lib/rt"
|
||||||
do
|
do
|
||||||
CP="$PROCESSING_HOME/$procjar.jar:$CP"
|
CP="$PROCESSING_HOME/$procjar.jar:$CP"
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
<project name="practicing-processing" basedir="." default="jar">
|
<project name="practicing-processing" basedir="." default="jar">
|
||||||
<property environment="env" />
|
<property environment="env" />
|
||||||
|
|
||||||
<target name="prochome-check">
|
<target name="envcheck">
|
||||||
<exec executable="./bin/prochome-check" failonerror="true" />
|
<exec executable="./bin/prochome-check" failonerror="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="build" description="Jar Up All The Things">
|
<target name="jar" depends="build" description="Jar Up All The Things">
|
||||||
<jar destfile="lib/${os.arch}/mbh-processing-practice.jar"
|
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
|
||||||
basedir="build" />
|
|
||||||
</target>
|
</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">
|
<javac srcdir="src" destdir="build" includeantruntime="false" debug="on">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${env.PROCESSING_HOME}/lib/pde.jar" />
|
<pathelement location="${env.PROCESSING_HOME}/lib/pde.jar" />
|
||||||
|
Loading…
Reference in New Issue
Block a user