summaryrefslogtreecommitdiffstats
path: root/tools/jackpotc/bttf
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-25 15:59:05 +0200
committerMichael Bien <[email protected]>2010-04-25 15:59:05 +0200
commit6033b01389ec1f17d0831ed22a41cdfe24a3b435 (patch)
treefb4694905d1727f271d7181ed547fd5193d33216 /tools/jackpotc/bttf
parentc2860b7b9b00f71625f5503122598c3e53d336b5 (diff)
updated jackpot scripts, jogl distributions are now downloaded automatically.
added patching step.
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