[jbosstools-commits] JBoss Tools SVN: r43712 - trunk/build/util/cleanup.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 14 15:30:28 EDT 2012


Author: nickboldt
Date: 2012-09-14 15:30:28 -0400 (Fri, 14 Sep 2012)
New Revision: 43712

Modified:
   trunk/build/util/cleanup/jbosstools-cleanup.sh
Log:
publish new composite*.xml files to correct folder on download.jb.org

Modified: trunk/build/util/cleanup/jbosstools-cleanup.sh
===================================================================
--- trunk/build/util/cleanup/jbosstools-cleanup.sh	2012-09-14 19:27:34 UTC (rev 43711)
+++ trunk/build/util/cleanup/jbosstools-cleanup.sh	2012-09-14 19:30:28 UTC (rev 43712)
@@ -90,13 +90,16 @@
 		getSubDirs $sd 1; #return #getSubDirsReturn
 		getSubDirsCount $getSubDirsReturn; #return $getSubDirsCountReturn
 		if [[ $getSubDirsCountReturn -gt 0 ]]; 
+			echo "Generate metadata ${getSubDirsCountReturn} subdirs in $sd/" | tee -a $log	
 			mkdir -p /tmp/cleanup-fresh-metadata/
 			regenCompositeMetadata "$getSubDirsReturn" "$getSubDirsCountReturn" "org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository" "/tmp/cleanup-fresh-metadata/compositeContent.xml"
 			regenCompositeMetadata "$getSubDirsReturn" "$getSubDirsCountReturn" "org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository" "/tmp/cleanup-fresh-metadata/compositeArtifacts.xml"
 			rsync --rsh=ssh --protocol=28 -q /tmp/cleanup-fresh-metadata/composite*.xml tools at filemgmt.jboss.org:$sd/
 			rm -fr /tmp/cleanup-fresh-metadata/
 		else
+			echo "No subdirs found in $sd/" | tee -a $log	
 			# TODO delete composite*.xml from $sd/ folder if there are no subdirs present
+
 		fi
 	done
 	echo "" | tee -a $log	



More information about the jbosstools-commits mailing list