summaryrefslogtreecommitdiffstats
path: root/jenkins-builds/funcs_promotion.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-15 02:48:16 +0100
committerSven Gothel <[email protected]>2012-02-15 02:48:16 +0100
commit621379bda619052a9a481cdb1e68f29114654539 (patch)
tree7a740c4155ccd0dbb46baa571002f2f7b0feacbd /jenkins-builds/funcs_promotion.sh
parentace7b94de7f3461a0a2f712418c2d2553003ee56 (diff)
Disabled: jogamp-<os.and.archs>.7z
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"