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

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 14 15:13:04 EDT 2012


Author: nickboldt
Date: 2012-09-14 15:13:04 -0400 (Fri, 14 Sep 2012)
New Revision: 43708

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:12:57 UTC (rev 43707)
+++ trunk/build/util/cleanup/jbosstools-cleanup.sh	2012-09-14 19:13:04 UTC (rev 43708)
@@ -85,11 +85,15 @@
 				echo "+ $sd/$dd (${day}d)" | tee -a $log
 			fi
 		done
+
+		# generate metadata in the nightly/core/trunk/ folder to composite the remaining sites into one
 		getSubDirs $sd 1; #return #getSubDirsReturn
 		getSubDirsCount $getSubDirsReturn; #return $getSubDirsCountReturn
-		regenCompositeMetadata $getSubDirsReturn $getSubDirsCountReturn org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository compositeContent.xml
-		regenCompositeMetadata $getSubDirsReturn $getSubDirsCountReturn org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository compositeArtifacts.xml
-
+		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 -q /tmp/cleanup-fresh-metadata/composite*.xml tools at filemgmt.jboss.org:$sd/
+		rm -fr /tmp/cleanup-fresh-metadata/
 	done
 	echo "" | tee -a $log	
 }



More information about the jbosstools-commits mailing list