summaryrefslogtreecommitdiffstats
path: root/jenkins-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-29 04:18:32 +0200
committerSven Gothel <[email protected]>2015-07-29 04:18:32 +0200
commit0283ed5a7bf9401161845b11179f8689eafdd7a2 (patch)
treedfa2285da734058f6cda88366a5162fe7d81b365 /jenkins-builds
parente58bf0a5418a777ae79387df1a24a6907df686ba (diff)
Bug 1145 - Add fat/jogamp-fat-test-java-src.jar
Diffstat (limited to 'jenkins-builds')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh17
1 files changed, 14 insertions, 3 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index d7bcbf1..8ba268f 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -337,8 +337,8 @@ function prom_make_fatjar() {
zip -r ../../fat/jogamp-fat-java-src.zip .
cd ../..
- mkdir tmp/testjar
- cd tmp/testjar
+ mkdir tmp/fattestjar
+ cd tmp/fattestjar
fat_test_jar_modules="junit gluegen-test-util joal-test jogl-test jocl-test"
for h in $fat_test_jar_modules ; do
unzip ../../jar/$h.jar
@@ -346,10 +346,21 @@ function prom_make_fatjar() {
done
unzip $master_gluegen/dist/junit.jar
rm -rf META-INF
-
jar cfm ../../fat/jogamp-fat-test.jar $master_gluegen/dist/jogamp-fat-test.mf .
cd ../..
+ mkdir tmp/fattestjarsrc
+ cd tmp/fattestjarsrc
+ fat_test_java_src_modules="gluegen joal jogl jocl"
+ for i in $fat_java_src_modules ; do
+ if [ -e ../../tmp/$i-$masterpick/$i-test-java-src.zip ] ; then
+ unzip ../../tmp/$i-$masterpick/$i-test-java-src.zip
+ fi
+ rm -rf META-INF
+ done
+ zip -r ../../fat/jogamp-fat-test-java-src.zip .
+ cd ../..
+
mv fat jogamp-fat
7z a -r archive/jogamp-fat-all.7z jogamp-fat
mv jogamp-fat fat