summaryrefslogtreecommitdiffstats
path: root/jenkins-builds/funcs_promotion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-builds/funcs_promotion.sh')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh81
1 files changed, 42 insertions, 39 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh
index d2ff170..fedbb86 100755
--- a/jenkins-builds/funcs_promotion.sh
+++ b/jenkins-builds/funcs_promotion.sh
@@ -76,45 +76,48 @@ function prom_merge_modules() {
cd $destdir
- for i in $os_and_archs ; do
- echo "INFO: Mergin modules <$modules> to $mergefolder"
- local mergefolder=jogamp-$i
- cd tmp
- mkdir $mergefolder
- for j in $modules ; do
- local modulefolder=`find . -name $j\*$i`
- if [ -z "$modulefolder" ] ; then
- echo "ERROR: No module/platform extracted folder module $j, platform $i"
- exit 1
- fi
- cd $modulefolder
- for k in artifact.properties LICENSE.txt README.txt ; do
- if [ -e $k ] ; then
- cp -av $k ../$mergefolder/$j.$k
- fi
- done
- for k in \*-java-src.zip ; do
- if [ -e $k ] ; then
- cp -av $k ../$mergefolder/
- fi
- done
- for k in etc jar jnlp-files lib ; do
- if [ -e $k ] ; then
- mkdir -p ../$mergefolder/$k
- cp -av $k/* ../$mergefolder/$k/
- fi
- done
- if [ -e ../$mergefolder/lib ] ; then
- echo "This folder contains deprecated plain native libraries for platform $i, please use the native JAR files in the jar folder. WARNING: This folder is subject to be removed soon." > ../$mergefolder/lib/README.txt
- fi
- cd ..
- done
- cp -av ../log/aggregated.artifact.properties.sorted ../log/all.artifact.properties.sorted $mergefolder/
- echo "This archive contains platform builds for $i only and is deprecated. Please use the jogamp-all-platforms archive for all supported platforms. WARNING: This platfrom archive is subject to be removed soon." > $mergefolder/README.txt
- echo "INFO: Create merged jogamp archive $mergefolder.7z"
- 7z a -r ../archive/$mergefolder.7z $mergefolder
- cd ..
- done
+#
+# Disabled: jogamp-<os.and.archs>.7z !
+#
+# for i in $os_and_archs ; do
+# echo "INFO: Mergin modules <$modules> to $mergefolder"
+# local mergefolder=jogamp-$i
+# cd tmp
+# mkdir $mergefolder
+# for j in $modules ; do
+# local modulefolder=`find . -name $j\*$i`
+# if [ -z "$modulefolder" ] ; then
+# echo "ERROR: No module/platform extracted folder module $j, platform $i"
+# exit 1
+# fi
+# cd $modulefolder
+# for k in artifact.properties LICENSE.txt README.txt ; do
+# if [ -e $k ] ; then
+# cp -av $k ../$mergefolder/$j.$k
+# fi
+# done
+# for k in \*-java-src.zip ; do
+# if [ -e $k ] ; then
+# cp -av $k ../$mergefolder/
+# fi
+# done
+# for k in etc jar jnlp-files lib ; do
+# if [ -e $k ] ; then
+# mkdir -p ../$mergefolder/$k
+# cp -av $k/* ../$mergefolder/$k/
+# fi
+# done
+# if [ -e ../$mergefolder/lib ] ; then
+# echo "This folder contains deprecated plain native libraries for platform $i, please use the native JAR files in the jar folder. WARNING: This folder is subject to be removed soon." > ../$mergefolder/lib/README.txt
+# fi
+# cd ..
+# done
+# cp -av ../log/aggregated.artifact.properties.sorted ../log/all.artifact.properties.sorted $mergefolder/
+# echo "This archive contains platform builds for $i only and is deprecated. Please use the jogamp-all-platforms archive for all supported platforms. WARNING: This platfrom archive is subject to be removed soon." > $mergefolder/README.txt
+# echo "INFO: Create merged jogamp archive $mergefolder.7z"
+# 7z a -r ../archive/$mergefolder.7z $mergefolder
+# cd ..
+# done
local mergefolder=jogamp-all-platforms
echo "INFO: Mergin modules <$modules> to $mergefolder"