mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
[releng] p2 download stats
This commit is contained in:
parent
b120549160
commit
39ed76edbe
1 changed files with 13 additions and 14 deletions
|
@ -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
|
if [ -f $x ]; then rm -f $x; fi
|
||||||
done
|
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
|
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 \
|
||||||
|
@ -513,7 +500,19 @@ if [ x${DO_STATS} = x1 ]; then
|
||||||
#-reusePack200Files \
|
#-reusePack200Files \
|
||||||
#-noDefaultIUs \
|
#-noDefaultIUs \
|
||||||
fi
|
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
|
cd $SITE
|
||||||
chgrp -R dsdp-tmadmin .
|
chgrp -R dsdp-tmadmin .
|
||||||
|
|
Loading…
Add table
Reference in a new issue