blob: 5932234d67a5daef7f62c762f5168e405aad9b64 [file] [log] [blame]
david_williams944068e2007-02-10 19:13:11 +00001
2# This script should be "copied up" and ran from a
3# directory "above" the main working directories of
david_williamscdeaa702007-05-26 22:12:58 +00004# ${updateToolsDir}.
david_williams944068e2007-02-10 19:13:11 +00005# This is typically the users $HOME directory
6
7updateToolsDir=org.eclipse.wtp.releng.webupdatesite
8
9echo " "
david_williamscdeaa702007-05-26 22:12:58 +000010echo " Removing old ${updateToolsDir} and exporting fresh HEAD versions."
david_williams944068e2007-02-10 19:13:11 +000011echo " "
12
david_williamscdeaa702007-05-26 22:12:58 +000013rm -fr ${updateToolsDir}
david_williams944068e2007-02-10 19:13:11 +000014echo " "
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'
david_williamscdeaa702007-05-26 22:12:58 +000019cvs -Q -f -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -r HEAD ${updateToolsDir}
david_williams944068e2007-02-10 19:13:11 +000020
david_williamscdeaa702007-05-26 22:12:58 +000021dos2unix -q ${updateToolsDir}/build-home/*.sh
22dos2unix -q ${updateToolsDir}/build-home/*.xml
23chmod -R +x ${updateToolsDir}/build-home/*.sh
david_williams944068e2007-02-10 19:13:11 +000024
25
26echo " for complete refresh, use something similar to following"
27echo " "
david_williamscdeaa702007-05-26 22:12:58 +000028echo " cd ${updateToolsDir}/build-home/"
david_williams944068e2007-02-10 19:13:11 +000029echo " screen -x"
30echo " #for Callisto"
31echo " ./runUpdateAllProjects.sh -clean | tee out.txt"
32echo " #for Europa"
33echo " ./runUpdateAllEuropaProjects.sh -clean | tee out.txt"
34echo " "
35echo " When complete, be sure to inspect or at least grep the out.txt file for anomilies, e.g. "
36echo " grep failed out.txt"
37echo " grep error out.txt"
38echo " grep exception out.txt"
david_williamscdeaa702007-05-26 22:12:58 +000039echo " "
40