diff options
Diffstat (limited to 'test/TestMultiAndFatJar/make-fat_and_multi.sh')
-rw-r--r-- | test/TestMultiAndFatJar/make-fat_and_multi.sh | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/test/TestMultiAndFatJar/make-fat_and_multi.sh b/test/TestMultiAndFatJar/make-fat_and_multi.sh index 945d29b..de031be 100644 --- a/test/TestMultiAndFatJar/make-fat_and_multi.sh +++ b/test/TestMultiAndFatJar/make-fat_and_multi.sh @@ -5,11 +5,12 @@ JOGL=$THISDIR/../../../jogl bdir=build-x86_64 rm -rf temp +rm -rf output +mkdir output # # make fat # -rm -f jogl-fat.jar mkdir temp cd temp unzip -o $GLUEGEN/$bdir/gluegen-rt.jar @@ -19,27 +20,33 @@ 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 * +jar cf ../output/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 * +jar cf ../output/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 * +jar cf ../output/jogl-multi-natives-linux-amd64.jar * + cd .. rm -rf temp +# +# Just to run some tests +# +cp -a $JOGL/$bdir/jar/jogl-test.jar output/ +cp -a $GLUEGEN/make/lib/junit.jar output/ + |