From ba45f8e4ac5a5c4551ec9972fe6a04fed012a6ec Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Tue, 8 Jun 2010 11:11:56 +0000 Subject: [PATCH] [releng] p2 download stats --- releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh index 61cd240deef..f433888da04 100755 --- a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh +++ b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh @@ -492,7 +492,7 @@ if [ x${DO_STATS} = x0 ]; then -vmargs -Xmx256M else echo "Creating P2 metadata with download stats..." - java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \ + CMD="java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \ -application org.sonatype.tycho.p2.updatesite.UpdateSitePublisherWithJRE \ -source file:${SITE}/ \ -metadataRepository file:${SITE}/ \ @@ -500,7 +500,11 @@ else -compress \ -p2.statsURI http://download.eclipse.org/stats/tm \ -p2.statsTrackedBundles org.eclipse.rse.core,org.eclipse.tm.terminal,org.eclipse.tm.terminal.local \ - -vmargs -Xmx256M + -vmargs -Xmx256M" + echo $CMD + $CMD + result=$? + echo "result: ${result}" #-reusePack200Files \ #-noDefaultIUs \ fi