david_williams | 944068e | 2007-02-10 19:13:11 +0000 | [diff] [blame] | 1 | |
| 2 | # This script should be "copied up" and ran from a |
| 3 | # directory "above" the main working directories of |
| 4 | # $updateToolsDir. |
| 5 | # This is typically the users $HOME directory |
| 6 | |
| 7 | updateToolsDir=org.eclipse.wtp.releng.webupdatesite |
| 8 | |
| 9 | echo " " |
| 10 | echo " Removing old $updateToolsDir and exporting fresh HEAD versions." |
| 11 | echo " " |
| 12 | |
| 13 | rm -fr $updateToolsDir |
| 14 | echo " " |
| 15 | |
| 16 | # ISSUE: we should move away from using 'head' version |
| 17 | # Note: we can use "local host" since we are running on the same cluser as the cvs server |
| 18 | # otherwise, if running remotely, localhos should be changed to 'dev.eclpise.org' |
| 19 | cvs -Q -f -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -r HEAD $updateToolsDir |
| 20 | |
david_williams | ba342eb | 2007-02-10 19:15:44 +0000 | [diff] [blame] | 21 | dos2unix -q $updateToolsDir/build-home/*.sh |
| 22 | dos2unix -q $updateToolsDir/build-home/*.xml |
david_williams | 944068e | 2007-02-10 19:13:11 +0000 | [diff] [blame] | 23 | chmod -R +x $updateToolsDir/build-home/*.sh |
| 24 | |
| 25 | |
| 26 | echo " for complete refresh, use something similar to following" |
| 27 | echo " " |
| 28 | echo " cd $updateToolsDir/build-home/" |
| 29 | echo " screen -x" |
| 30 | echo " #for Callisto" |
| 31 | echo " ./runUpdateAllProjects.sh -clean | tee out.txt" |
| 32 | echo " #for Europa" |
| 33 | echo " ./runUpdateAllEuropaProjects.sh -clean | tee out.txt" |
| 34 | echo " " |
| 35 | echo " When complete, be sure to inspect or at least grep the out.txt file for anomilies, e.g. " |
| 36 | echo " grep failed out.txt" |
| 37 | echo " grep error out.txt" |
| 38 | echo " grep exception out.txt" |
| 39 | echo " " |