mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-05 22:53:13 +02:00
[releng] p2 download stats
This commit is contained in:
parent
d71ad0e5f8
commit
b120549160
1 changed files with 9 additions and 6 deletions
|
@ -53,7 +53,10 @@ case ${SITEDIR} in
|
||||||
*) TYPE=unknown ;;
|
*) TYPE=unknown ;;
|
||||||
esac
|
esac
|
||||||
case ${SITEDIR} in
|
case ${SITEDIR} in
|
||||||
3.2*) VERSION=3.2 ; DO_STATS=1 ;;
|
3.2*) VERSION=3.2 ;;
|
||||||
|
esac
|
||||||
|
case ${SITEDIR} in
|
||||||
|
3.2) DO_STATS=1 ;;
|
||||||
esac
|
esac
|
||||||
if [ ${TYPE} = test ]; then
|
if [ ${TYPE} = test ]; then
|
||||||
echo "Working on test update site"
|
echo "Working on test update site"
|
||||||
|
@ -476,9 +479,9 @@ cd ${SITE}
|
||||||
for x in content.xml content.jar content.jar.pack.gz artifacts.xml artifacts.jar artifacts.jar.pack.gz ; do
|
for x in content.xml content.jar content.jar.pack.gz artifacts.xml artifacts.jar artifacts.jar.pack.gz ; do
|
||||||
if [ -f $x ]; then rm -f $x; fi
|
if [ -f $x ]; then rm -f $x; fi
|
||||||
done
|
done
|
||||||
if [ x${DO_STATS} = x0 ]; then
|
|
||||||
echo "Creating P2 metadata (no download stats)..."
|
echo "Creating P2 metadata (no download stats)..."
|
||||||
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
||||||
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
||||||
-updateSite ${SITE}/ \
|
-updateSite ${SITE}/ \
|
||||||
-site file:${SITE}/site.xml \
|
-site file:${SITE}/site.xml \
|
||||||
|
@ -490,7 +493,7 @@ if [ x${DO_STATS} = x0 ]; then
|
||||||
-reusePack200Files \
|
-reusePack200Files \
|
||||||
-noDefaultIUs \
|
-noDefaultIUs \
|
||||||
-vmargs -Xmx256M
|
-vmargs -Xmx256M
|
||||||
else
|
if [ x${DO_STATS} = x1 ]; then
|
||||||
echo "Creating P2 metadata with download stats..."
|
echo "Creating P2 metadata with download stats..."
|
||||||
# -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher \
|
# -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher \
|
||||||
#CMD="java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
#CMD="java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
|
||||||
|
@ -501,7 +504,7 @@ else
|
||||||
-artifactRepository file:${SITE} \
|
-artifactRepository file:${SITE} \
|
||||||
-compress \
|
-compress \
|
||||||
-p2.statsURI http://download.eclipse.org/stats/tm \
|
-p2.statsURI http://download.eclipse.org/stats/tm \
|
||||||
-p2.statsTrackedBundles org.eclipse.rse.core,org.eclipse.tm.terminal,org.eclipse.tm.terminal.local \
|
-p2.statsTrackedBundles org.eclipse.rse.sdk,org.eclipse.dstore.core,org.eclipse.rse.core,org.eclipse.rse.useractions,org.eclipse.tm.rapi,org.eclipse.tm.discovery,org.eclipse.tm.terminal,org.eclipse.tm.terminal.view,org.eclipse.tm.terminal.local \
|
||||||
-vmargs -Xmx256M"
|
-vmargs -Xmx256M"
|
||||||
echo $CMD
|
echo $CMD
|
||||||
$CMD
|
$CMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue