aboutsummaryrefslogtreecommitdiffstats
path: root/tools/jackpotc/bttf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jackpotc/bttf')
-rwxr-xr-xtools/jackpotc/bttf8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/jackpotc/bttf b/tools/jackpotc/bttf
index 51472c568..b1aed8c72 100755
--- a/tools/jackpotc/bttf
+++ b/tools/jackpotc/bttf
@@ -1,8 +1,12 @@
#!/bin/bash
SRC="./test/oldgears/src/"
-LIBS="./test/oldgears/lib/jogl.jar:./test/oldgears/lib/jogl.all.jar:./test/oldgears/lib/jogl.awt.jar"
+LIBS="./test/oldgears/lib/old/jogl.jar:./test/oldgears/lib/new/jogl.all.jar:./test/oldgears/lib/new/jogl.awt.jar"
OUTPUT="./test/oldgears/build"
+FILESET=`find $SRC -type f -name "*.java"`
echo "Back to the Future"
mkdir $OUTPUT
-./lib/jackpotc -sourcepath $SRC -cp $LIBS -d $OUTPUT -Ajackpot30_extra_hints=./jogl1Tojogl2.hint `find $SRC -type f -name "*.java"`
+./lib/jackpotc -sourcepath $SRC -cp $LIBS -d $OUTPUT -Ajackpot30_extra_hints=./jogl1Tojogl2.hint $FILESET
+
+echo "patching..."
+patch -o ${OUTPUT}/Patched.java $FILESET ${OUTPUT}/META-INF/upgrade/upgrade.diff