diff options
Diffstat (limited to 'test/TestMultiAndFatJar/make-fat_and_multi.sh')
-rw-r--r-- | test/TestMultiAndFatJar/make-fat_and_multi.sh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/test/TestMultiAndFatJar/make-fat_and_multi.sh b/test/TestMultiAndFatJar/make-fat_and_multi.sh new file mode 100644 index 0000000..945d29b --- /dev/null +++ b/test/TestMultiAndFatJar/make-fat_and_multi.sh @@ -0,0 +1,45 @@ +THISDIR=`pwd` +GLUEGEN=$THISDIR/../../../gluegen +JOGL=$THISDIR/../../../jogl + +bdir=build-x86_64 + +rm -rf temp + +# +# make fat +# +rm -f jogl-fat.jar +mkdir temp +cd temp +unzip -o $GLUEGEN/$bdir/gluegen-rt.jar +unzip -o $GLUEGEN/$bdir/gluegen-rt-natives-linux-amd64.jar +unzip -o $JOGL/$bdir/jar/jogl-all.jar +unzip -o $JOGL/$bdir/jar/jogl-all-natives-linux-amd64.jar +mkdir -p natives/linux-amd64 +mv lib*.so natives/linux-amd64/ +rm -rf META-INF +jar cf ../jogl-fat.jar * +cd .. +rm -rf temp + +# +# make multi +# +rm -f jogl-multi.jar jogl-multi-natives-linux-amd64.jar +mkdir temp +cd temp +unzip -o $GLUEGEN/$bdir/gluegen-rt.jar +unzip -o $JOGL/$bdir/jar/jogl-all.jar +rm -rf META-INF +jar cf ../jogl-multi.jar * +rm -rf * +unzip -o $GLUEGEN/$bdir/gluegen-rt-natives-linux-amd64.jar +unzip -o $JOGL/$bdir/jar/jogl-all-natives-linux-amd64.jar +mkdir -p natives/linux-amd64 +mv lib*.so natives/linux-amd64/ +rm -rf META-INF +jar cf ../jogl-multi-natives-linux-amd64.jar * +cd .. +rm -rf temp + |