[jbosstools-commits] JBoss Tools SVN: r41827 - trunk/build/publish.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Jun 8 13:16:22 EDT 2012


Author: nickboldt
Date: 2012-06-08 13:16:22 -0400 (Fri, 08 Jun 2012)
New Revision: 41827

Modified:
   trunk/build/publish/publish.sh
Log:
support both source.zip and Source.zip; merge changes from 33x branch

Modified: trunk/build/publish/publish.sh
===================================================================
--- trunk/build/publish/publish.sh	2012-06-08 17:15:21 UTC (rev 41826)
+++ trunk/build/publish/publish.sh	2012-06-08 17:16:22 UTC (rev 41827)
@@ -168,11 +168,15 @@
 fi
 
 foundSourcesZip=0
-# for now, but the JBDS sources into the /installer/ folder
+# for now, put the JBDS sources into the /installer/ folder
 for z in $(find ${WORKSPACE}/sources/product/sources/target -type f -name "jbdevstudio-product-sources-*.zip"); do
 	for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
 	mkdir -p ${STAGINGDIR}/installer/
 	rsync -aq $z ${z}.MD5 ${STAGINGDIR}/installer/
+	# [fix for DEPRECATED PDE installer build] provide symlink so that the .product build can find the sources zip using a generic name, where SRCSNAME = ${JOB_NAME}-Sources-${ZIPSUFFIX}.zip
+	#mkdir -p ${STAGINGDIR}/all; cd ${STAGINGDIR}/all
+	#ln -s ../installer/${z} ${SRCSNAME}
+	#ln -s ../installer/${z}.MD5 ${SRCSNAME}.MD5
 	foundSourcesZip=1
 done
 if [[ $foundSourcesZip -eq 0 ]]; then
@@ -250,7 +254,7 @@
 echo "  " >> ${md5sumsFile}
 echo "# Source Zips" >> ${md5sumsFile}
 echo "# -----------" >> ${md5sumsFile}
-md5sum $(find . -name "*Source*.zip" | egrep -v "aggregate-Sources|nightly-Update") >> ${md5sumsFile}
+md5sum $(find . -iname "*source*.zip" | egrep -v "aggregate-Sources|nightly-Update") >> ${md5sumsFile}
 echo " " >> ${md5sumsFile}
 
 mkdir -p ${STAGINGDIR}/logs



More information about the jbosstools-commits mailing list