1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-24 00:33:48 +02:00

Fix description of signedUpdates site

This commit is contained in:
Martin Oberhuber 2006-11-07 14:34:53 +00:00
parent 6212c0c827
commit 3a92aa6a5d
2 changed files with 36 additions and 7 deletions

View file

@ -27,8 +27,9 @@ export PATH=/shared/common/ibm-java2-ppc64-50/jre/bin:/shared/common/ibm-java2-p
# patch site.xml # patch site.xml
cd .. cd ..
SITE=`pwd` SITE=`pwd`
rm site.xml web/site.xsl if [ -f index.html.new ]; then
cvs -q update -dPR rm -f index.html.new
fi
if [ -f site.xml.new ]; then if [ -f site.xml.new ]; then
rm -f site.xml.new rm -f site.xml.new
fi fi
@ -51,6 +52,12 @@ if [ `basename $SITE` = testUpdates ]; then
cp -R $DIR/plugins . cp -R $DIR/plugins .
fi fi
fi fi
rm index.html site.xml web/site.xsl
cvs -q update -dPR
sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \
-e 's,Project Update,Project Test Update,g' \
index.html > index.html.new
mv -f index.html.new index.html
sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \ sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \
-e 's,Project Update,Project Test Update,g' \ -e 's,Project Update,Project Test Update,g' \
site.xml > site.xml.new site.xml > site.xml.new
@ -58,8 +65,8 @@ if [ `basename $SITE` = testUpdates ]; then
sed -e 's,Project Update,Project Test Update,g' \ sed -e 's,Project Update,Project Test Update,g' \
web/site.xsl > web/site.xsl.new web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl mv -f web/site.xsl.new web/site.xsl
else elif [ `basename $SITE` = signedUpdates ]; then
echo "Working on official update site" echo "Working on signed update site"
echo "Signing jars from test update site..." echo "Signing jars from test update site..."
STAGING=/home/data/httpd/download-staging.priv/dsdp/tm STAGING=/home/data/httpd/download-staging.priv/dsdp/tm
stamp=`date +'%Y%m%d-%H%M'` stamp=`date +'%Y%m%d-%H%M'`
@ -138,8 +145,9 @@ else
cd ${SITE} cd ${SITE}
rmdir ${STAGING}/updates.${stamp}/plugins rmdir ${STAGING}/updates.${stamp}/plugins
rmdir ${STAGING}/updates.${stamp} rmdir ${STAGING}/updates.${stamp}
mv features features.old.${stamp} #mv features features.old.${stamp}
mv plugins plugins.old.${stamp} #mv plugins plugins.old.${stamp}
rm -rf features plugins
mv features.${stamp} features mv features.${stamp} features
mv plugins.${stamp} plugins mv plugins.${stamp} plugins
else else
@ -149,8 +157,28 @@ else
fi fi
else else
echo "staging or testUpdates not found:" echo "staging or testUpdates not found:"
echo "expect that you copied features and plugins yourself" echo "please fix your pathes"
exit 1
fi fi
rm index.html site.xml web/site.xsl
cvs -q update -dPR
sed -e 's,/dsdp/tm/updates,/dsdp/tm/signedUpdates,g' \
-e 's,Project Update,Project Signed Test Update,g' \
index.html > index.html.new
mv -f index.html.new index.html
sed -e 's,/dsdp/tm/updates,/dsdp/tm/signedUpdates,g' \
-e 's,Project Update,Project Signed Test Update,g' \
site.xml > site.xml.new
mv -f site.xml.new site.xml
sed -e 's,Project Update,Project Signed Test Update,g' \
web/site.xsl > web/site.xsl.new
mv -f web/site.xsl.new web/site.xsl
else
echo "Working on official 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
cvs -q update -dPR
fi fi
FEATURES=`grep 'features/[^ ]*\.qualifier\.jar' site.xml | sed -e 's,^[^"]*"features/\([^0-9]*[0-9][0-9.]*\).*$,\1,g'` FEATURES=`grep 'features/[^ ]*\.qualifier\.jar' site.xml | sed -e 's,^[^"]*"features/\([^0-9]*[0-9][0-9.]*\).*$,\1,g'`
for feature in $FEATURES ; do for feature in $FEATURES ; do

View file

@ -8,6 +8,7 @@ cd `dirname $0`
mydir=`pwd` mydir=`pwd`
cd "$curdir" cd "$curdir"
rm "$mydir/pack200.stamp"
touch "$mydir/pack200.stamp" touch "$mydir/pack200.stamp"
date >> "$mydir/pack200.stamp" date >> "$mydir/pack200.stamp"
echo "pack200 -E4 $*" >> "$mydir/pack200.stamp" echo "pack200 -E4 $*" >> "$mydir/pack200.stamp"