From 33d5ed4ac5bf7cc37a0fedaa19526f9ceffe2fdd Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Wed, 20 Dec 2006 18:03:21 +0000 Subject: [PATCH] Adding support for 2.0milestones update site --- .../bin/mkTestUpdates.sh | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh index 4474ca00f18..7398dad7eaf 100755 --- a/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh +++ b/releng/org.eclipse.rse.updatesite/bin/mkTestUpdates.sh @@ -182,6 +182,23 @@ elif [ `basename $SITE` = signedUpdates ]; then 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 +elif [ `basename $SITE` = 2.0milestones ]; then + echo "Working on 2.0milestones 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 + sed -e 's,/dsdp/tm/updates,/dsdp/tm/updates/2.0milestones,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/updates/2.0milestones,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 2.0 Milestone 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" @@ -215,18 +232,6 @@ java -Dorg.eclipse.update.jarprocessor.pack200=$mydir \ $HOME/ws/jarprocessor/jarprocessor.jar \ -outputDir $SITE -processAll -pack $SITE -## Workaround nested jarfiles in org.apache* -## These don't work with signed jars, so do not recursively pack them -#cd $SITE/plugins -#JARS=`ls org.apache.oro_*.jar org.apache.commons.net_*.jar` -#for x in $JARS ; do -# if [ -f $x.pack.gz ]; then -# rm -f $x.pack.gz -# fi -# echo "WORKAROUND - remove $x.pack.gz" -# #pack200 -E4 $x.pack.gz $x -#done - #Create the digest echo "Creating digest..." java -jar $HOME/ws/eclipse/startup.jar \