1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-07 16:26:11 +02:00

[releng] Fix Indigo legacy builds

This commit is contained in:
Martin Oberhuber 2010-10-06 13:08:30 +00:00
parent bd374f50cd
commit 24251dd112
4 changed files with 26 additions and 12 deletions

View file

@ -9,7 +9,6 @@ mkdir ws2_user
cd ws2_user
ln -s `pwd` $HOME/ws2
ln -s /home/data/httpd/download.eclipse.org/dsdp/tm $HOME/downloads-tm
cp -R ../ws2/IBMJava2-ppc-142 .
wget -O setup.sh "http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/releng/org.eclipse.rse.build/setup.sh?rev=HEAD&cvsroot=DSDP_Project&content-type=text/plain"
chmod a+x setup.sh
./setup.sh

View file

@ -115,10 +115,10 @@ if [ -f package.count -a "$FILES" != "" ]; then
#DO_SIGN=1
fi
if [ "$DO_SIGN" = "1" ]; then
#if [ "$DO_SIGN" = "1" ]; then
#sign the zipfiles
#${mydir}/batch_sign.sh `pwd`
fi
#fi
if [ ${buildType} = N -a -d ../N.latest ]; then
#update the doc server

View file

@ -135,6 +135,17 @@ if [ ! -f ${DROPIN}/eclipse/plugins/gnu.io.rxtx_2.1.7.4_v20071016.jar ]; then
cd ${DROPUP}
fi
# Sonatype / Tycho app for generating p2 download stats
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=310132
if [ ! -f ${DROPIN}/org.sonatype.tycho.p2.updatesite_0.9.0.201005191712.jar ]; then
echo "Getting Download Stats Generator..."
cd ${DROPIN}
wget "https://bugs.eclipse.org/bugs/attachment.cgi?id=171500" -O addStats_v3.zip
unzip -o addStats_v3.zip
rm addStats_v3.zip
cd ${DROPUP}
fi
# CDT Runtime
#CDTREL=6.0.0
#CDTVER=200902031437

View file

@ -62,9 +62,9 @@ case ${SITEDIR} in
3.3) DO_STATS=1 ;;
esac
if [ ${TYPE} = test ]; then
echo "Working on test update site"
TPTYPE="${VERSION} Test"
TPVERSION="${TPVERSION} ${TPTYPE}"
echo "Working on ${TPVERSION} update site"
REL=`ls $HOME/ws2/working/package | sort | tail -1`
if [ "$REL" != "" ]; then
echo "Checking new Updates from $REL"
@ -155,16 +155,17 @@ if [ ${TYPE} = test ]; then
# $HOME/ws2/jarprocessor/jarprocessor.jar \
# -outputDir $SITE -processAll -repack $SITE
elif [ ${TYPE} = testSigned ]; then
echo "Working on signed update site"
TPTYPE="${VERSION} Signed Test"
TPVERSION="${TPVERSION} ${TPTYPE}"
echo "Signing jars from test update site (expecting conditioned jars)..."
echo "Working on ${TPVERSION} update site"
echo "Signing jars from ${SITE}/../testUpdates (expecting conditioned jars)..."
STAGING=/home/data/httpd/download-staging.priv/dsdp/tm
stamp=`date +'%Y%m%d-%H%M'`
if [ -d ${STAGING} -a -d ${SITE}/../testUpdates ]; then
#get jars from testUpdates, sign them and put them here
mkdir ${SITE}/features.${stamp}
mkdir -p ${STAGING}/updates.${stamp}/features
chmod -R g+w ${STAGING}/updates.${stamp}
cp -R ${SITE}/../testUpdates/features/*.jar ${STAGING}/updates.${stamp}/features
cd ${STAGING}/updates.${stamp}/features
for x in `ls *.jar`; do
@ -204,6 +205,7 @@ elif [ ${TYPE} = testSigned ]; then
rmdir ${STAGING}/updates.${stamp}/features
mkdir ${SITE}/plugins.${stamp}
mkdir -p ${STAGING}/updates.${stamp}/plugins
chmod -R g+w ${STAGING}/updates.${stamp}
cp ${SITE}/../testUpdates/plugins/*.jar ${STAGING}/updates.${stamp}/plugins
cd ${STAGING}/updates.${stamp}/plugins
for x in `ls *.jar`; do
@ -276,9 +278,9 @@ elif [ ${TYPE} = testSigned ]; then
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
elif [ ${TYPE} = milestone ]; then
echo "Working on ${VERSION} milestone update site"
TPTYPE="${VERSION} Milestone"
TPVERSION="${TPVERSION} ${TPTYPE}"
echo "Working on ${TPVERSION} update site"
echo "Expect that you copied your features and plugins yourself"
stamp=`date +'%Y%m%d-%H%M'`
rm index.html site.xml web/site.xsl
@ -302,9 +304,9 @@ being contributed to the Galileo coordinated release train (Eclipse 3.5.x).' \
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
elif [ ${TYPE} = interim ]; then
echo "Working on ${VERSION} interim update site"
TPTYPE="${VERSION} Interim"
TPVERSION="${TPVERSION} ${TPTYPE}"
echo "Working on ${TPVERSION} update site"
echo "Expect that you copied your features and plugins yourself"
stamp=`date +'%Y%m%d-%H%M'`
rm index.html site.xml web/site.xsl
@ -328,10 +330,10 @@ to test them before going live.' \
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
elif [ `basename $SITE` = 3.0 ]; then
echo "Working on 3.0 update site"
TPTYPE="3.0"
TPVERSION="${TPVERSION} ${TPTYPE}"
TYPE=official
echo "Working on ${TPVERSION} update site"
echo "Expect that you copied your features and plugins yourself"
stamp=`date +'%Y%m%d-%H%M'`
rm index.html site.xml web/site.xsl
@ -355,10 +357,10 @@ being contributed to the Ganymede coordinated release train (Eclipse 3.4).' \
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
elif [ `basename $SITE` = 3.1 ]; then
echo "Working on 3.1 update site"
TPTYPE="3.1"
TPVERSION="${TPVERSION} ${TPTYPE}"
TYPE=official
echo "Working on ${TPVERSION} update site"
echo "Expect that you copied your features and plugins yourself"
stamp=`date +'%Y%m%d-%H%M'`
rm index.html site.xml web/site.xsl
@ -382,10 +384,10 @@ being contributed to the Galileo coordinated release train (Eclipse 3.5).' \
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
elif [ `basename $SITE` = 3.2 ]; then
echo "Working on 3.2 update site"
TPTYPE="3.2"
TPVERSION="${TPVERSION} ${TPTYPE}"
TYPE=official
echo "Working on ${TPVERSION} update site"
echo "Expect that you copied your features and plugins yourself"
stamp=`date +'%Y%m%d-%H%M'`
rm index.html site.xml web/site.xsl
@ -485,6 +487,8 @@ done
if [ x${DO_STATS} = x1 ]; then
echo "Creating P2 metadata with download stats..."
# Sonatype / Tycho app for generating p2 download stats
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=310132
# -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher \
#CMD="java -jar ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar \
# -p2.statsTrackedBundles org.eclipse.rse.sdk,org.eclipse.dstore.core,org.eclipse.rse.core,org.eclipse.rse.useractions,org.eclipse.rse.examples.tutorial,org.eclipse.rse.tests,org.eclipse.tm.rapi,org.eclipse.tm.discovery,org.eclipse.tm.terminal,org.eclipse.tm.terminal.view,org.eclipse.tm.terminal.local \
@ -497,7 +501,7 @@ if [ x${DO_STATS} = x1 ]; then
-p2.statsURI http://download.eclipse.org/stats/dsdp/tm \
-p2.statsTrackedFeatures org.eclipse.rse.sdk,org.eclipse.rse.dstore,org.eclipse.rse.core,org.eclipse.rse.useractions,org.eclipse.rse.examples,org.eclipse.rse.tests,org.eclipse.rse.wince,org.eclipse.tm.discovery,org.eclipse.tm.terminal.view,org.eclipse.tm.terminal.local \
-p2.statsTrackedBundles org.eclipse.rse.core,org.eclipse.rse.core.source,org.eclipse.tm.terminal \
-p2.statsSuffix _tm320
-p2.statsSuffix _tm330
-vmargs -Xmx256M"
echo $CMD
$CMD