summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-29 09:47:11 +0200
committerSven Gothel <[email protected]>2015-07-29 09:47:11 +0200
commit6fa617357f82d015e4bfc959b3f38095d66b0b5a (patch)
tree09508a3883ae9a726a57865b3d491fd97bbc900b
parent0283ed5a7bf9401161845b11179f8689eafdd7a2 (diff)
Bug 1145 - Fat Jar: Add oculusvr jars
-rwxr-xr-xjenkins-builds/funcs_promotion.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index 8ba268f..3896acb 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -317,6 +317,16 @@ function prom_make_fatjar() {
done
done
done
+ for i in $os_and_archs_minus_android ; do
+ if [ -e ../../jar/atomic/oculusvr-natives-$i.jar ] ; then
+ unzip ../../jar/atomic/oculusvr-natives-$i.jar
+ rm -rf META-INF
+ mkdir -p natives/$i
+ for j in `find . -maxdepth 1 -name \*.so -o -name \*.dll -o -name \*.jnilib -o -name \*dylib` ; do
+ mv $j natives/$i/
+ done
+ fi
+ done
#rm -rf jogamp/nativetag
fat_core_jar_modules="gluegen-rt joal jogl-all jocl"
@@ -324,6 +334,10 @@ function prom_make_fatjar() {
unzip ../../jar/$h.jar
rm -rf META-INF
done
+ if [ -e ../../jar/atomic/oculusvr.jar ] ; then
+ unzip ../../jar/atomic/oculusvr.jar
+ rm -rf META-INF
+ fi
jar cfm ../../fat/jogamp-fat.jar $master_gluegen/dist/jogamp-fat.mf .
cd ../..