blob: b1aed8c7290bf6060debee9af01813ce34725648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
SRC="./test/oldgears/src/"
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 $FILESET
echo "patching..."
patch -o ${OUTPUT}/Patched.java $FILESET ${OUTPUT}/META-INF/upgrade/upgrade.diff
|