summaryrefslogtreecommitdiffstats
path: root/tools/jackpotc/bttf
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-27 09:48:03 +0200
committerSven Gothel <[email protected]>2010-04-27 09:48:03 +0200
commit2e99ad22783143067887881665a6204ac0e47d91 (patch)
tree40ee155f58e4e1bd1f9c89dd81d4876f04395947 /tools/jackpotc/bttf
parentfccb1f3a46d95e85af7af7490cac8d8e394b6439 (diff)
parent13e3d9bca4aa57fca322ccfc31fe9afc7765b72f (diff)
Merge branch 'master' of github.com:mbien/jogl
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