From 39ed76edbe99e42a971963377bd1594bae6fd028 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Wed, 9 Jun 2010 03:43:00 +0000 Subject: [PATCH] [releng] p2 download stats --- .../bin/mkTestUpdates.sh | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh index 2a79e804eac..a9f4f8cf1a2 100755 --- a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh +++ b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh @@ -480,19 +480,6 @@ for x in content.xml content.jar content.jar.pack.gz artifacts.xml artifacts.jar if [ -f $x ]; then rm -f $x; fi done -echo "Creating P2 metadata (no download stats)..." -java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \ - -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ - -updateSite ${SITE}/ \ - -site file:${SITE}/site.xml \ - -metadataRepository file:${SITE}/ \ - -metadataRepositoryName "${TPVERSION} Update Site" \ - -artifactRepository file:${SITE}/ \ - -artifactRepositoryName "${TPVERSION} Artifacts" \ - -compress \ - -reusePack200Files \ - -noDefaultIUs \ - -vmargs -Xmx256M if [ x${DO_STATS} = x1 ]; then echo "Creating P2 metadata with download stats..." # -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher \ @@ -513,7 +500,19 @@ if [ x${DO_STATS} = x1 ]; then #-reusePack200Files \ #-noDefaultIUs \ fi -##fi +echo "Creating P2 metadata (no download stats)..." +java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \ + -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ + -updateSite ${SITE}/ \ + -site file:${SITE}/site.xml \ + -metadataRepository file:${SITE}/ \ + -metadataRepositoryName "${TPVERSION} Update Site" \ + -artifactRepository file:${SITE}/ \ + -artifactRepositoryName "${TPVERSION} Artifacts" \ + -compress \ + -reusePack200Files \ + -noDefaultIUs \ + -vmargs -Xmx256M cd $SITE chgrp -R dsdp-tmadmin .