diff --git a/releng/org.eclipse.rse.build/bin/doit_ibuild.sh b/releng/org.eclipse.rse.build/bin/doit_ibuild.sh deleted file mode 100755 index 6ad5d2e28a0..00000000000 --- a/releng/org.eclipse.rse.build/bin/doit_ibuild.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -#******************************************************************************* -# Copyright (c) 2006 Wind River Systems, Inc. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Martin Oberhuber - initial API and implementation -#******************************************************************************* -#Bootstrapping script to perform I-builds on build.eclipse.org -#Will build based on HEAD of all mapfiles, and update the testUpdates as well - -#nothing we do should be hidden from the world -umask 22 - -#Use Java5 on build.eclipse.org -#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH -#export PATH=/shared/webtools/apps/IBMJava2-ppc64-142/bin:$PATH -#export PATH=/shared/webtools/apps/IBMJava2-ppc-142/bin:$PATH -export PATH=${HOME}/ws/IBMJava2-ppc-142/bin:$PATH - -curdir=`pwd` - -#Remove old logs and builds -echo "Removing old logs and builds..." -cd $HOME/ws -#rm log-*.txt -if [ -d working/build ]; then - rm -rf working/build -fi -if [ -d working/package ]; then - rm -rf working/package -fi - -#Do the main job -echo "Updating builder from CVS..." -cd org.eclipse.rse.build -stamp=`date +'%Y%m%d-%H%M'` -log=$HOME/ws/log-I$stamp.txt -touch $log -cvs -q update -RPd >> $log 2>&1 -daystamp=`date +'%Y%m%d-%H'` - -echo "Running the builder..." -./nightly.sh HEAD I >> $log 2>&1 -tail -50 $log - -#Fixup permissions and group id on download.eclpse.org (just to be safe) -#chmod -R g+w $HOME/ws/publish/I${daystamp}* - -#Copy latest SDK in order to give access to DOC server -cd $HOME/ws/publish -FILES=`ls I${daystamp}*/RSE-SDK-I${daystamp}*.zip 2>/dev/null` -echo "FILES=$FILES" -if [ "$FILES" != "" ]; then - rm N.latest/RSE-SDK-I*.zip - cp I${daystamp}*/RSE-SDK-I${daystamp}*.zip N.latest - cd N.latest - mv -f RSE-SDK-I${daystamp}*.zip RSE-SDK-latest.zip -fi - -#Update the testUpdates sites -if [ "$FILES" != "" ]; then - echo "Refreshing update site" - cd $HOME/downloads-tm/testUpdates/bin - ./mkTestUpdates.sh - echo "Refreshing signedUpdates site" - cd $HOME/downloads-tm/signedUpdates/bin - ./mkTestUpdates.sh - cd "$curdir" -fi diff --git a/releng/org.eclipse.rse.build/bin/doit_irsbuild.sh b/releng/org.eclipse.rse.build/bin/doit_irsbuild.sh index 20185f6f906..bae273a590c 100755 --- a/releng/org.eclipse.rse.build/bin/doit_irsbuild.sh +++ b/releng/org.eclipse.rse.build/bin/doit_irsbuild.sh @@ -71,6 +71,12 @@ echo "Running the builder..." ./nightly.sh HEAD ${buildType} ${buildId} >> $log 2>&1 tail -50 $log +#update the main download and archive pages +cd /home/data/httpd/download.eclipse.org/dsdp/tm/downloads +cvs -q update -RPd >> $log 2>&1 +cd /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads +cvs -q update -RPd >> $log 2>&1 + #Fixup permissions and group id on download.eclpse.org (just to be safe) #chmod -R g+w $HOME/ws/publish/${buildType}*${daystamp}* @@ -87,6 +93,7 @@ if [ -f package.count -a "$FILES" != "" ]; then mv package.count package.count.orig #DO_SIGN=1 fi + if [ "$DO_SIGN" = "1" ]; then #sign the zipfiles ${mydir}/batch_sign.sh `pwd` diff --git a/releng/org.eclipse.rse.build/bin/doit_sbuild.sh b/releng/org.eclipse.rse.build/bin/doit_sbuild.sh deleted file mode 100755 index 0ad3d4dbe8b..00000000000 --- a/releng/org.eclipse.rse.build/bin/doit_sbuild.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh -#******************************************************************************* -# Copyright (c) 2006 Wind River Systems, Inc. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Martin Oberhuber - initial API and implementation -#******************************************************************************* -#Bootstrapping script to perform S-builds on build.eclipse.org -#Will ask the user for label and build ID - -#nothing we do should be hidden from the world -umask 22 - -#Use Java5 on build.eclipse.org -#export PATH=/shared/common/ibm-java2-ppc64-50/bin:$PATH -#export PATH=/shared/webtools/apps/IBMJava2-ppc64-142/bin:$PATH -#export PATH=/shared/webtools/apps/IBMJava2-ppc-142/bin:$PATH -export PATH=${HOME}/ws/IBMJava2-ppc-142/bin:$PATH - -curdir=`pwd` - -#Remove old logs and builds -echo "Removing old logs and builds..." -cd $HOME/ws -#rm log-*.txt -if [ -d working/build ]; then - rm -rf working/build -fi -if [ -d working/package ]; then - rm -rf working/package -fi - -#Do the main job -echo "Updating builder from CVS..." -cd org.eclipse.rse.build -stamp=`date +'%Y%m%d-%H%M'` -log=$HOME/ws/log-$stamp.txt -touch $log -cvs -q update -RPd -daystamp=`date +'%Y%m%d*%H'` -echo "Enter tag to fetch from CVS (default is HEAD):" -echo "Enter build type (P,N,I,S,R,M):" -echo "Enter the build id (default is x$stamp):" -perl ./build.pl >> $log 2>&1 -#tail -50 $log - -#Fixup permissions and group id on download.eclpse.org (just to be safe) -#chmod -R g+w $HOME/ws/working/package/*${daystamp}* - -#Publish -echo "cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish" -cp -R $HOME/ws/working/package/*${daystamp}* $HOME/ws/publish -rm -rf $HOME/ws/publish/*${daystamp}*/updates -#echo "chmod -R g+w $HOME/ws/publish/*${daystamp}*" -#chmod -R g+w $HOME/ws/publish/*${daystamp}* - -#Check the publishing -cd $HOME/ws/publish -cd *${daystamp}* -if [ -f package.count ]; then - #hide the release for now until it is tested - #mirrors will still pick it up - mv package.count package.count.orig - - #Update the testUpdates sites - echo "Refreshing update site" - cd $HOME/downloads-tm/testUpdates/bin - ./mkTestUpdates.sh - echo "Refreshing signedUpdates site" - cd $HOME/downloads-tm/signedUpdates/bin - ./mkTestUpdates.sh - cd "$curdir" -fi