blob: b37745787c06d3ea398f8ad33a043b448bdf2e93 [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_williams51d536a2007-05-27 02:35:12 +00005# This is typically the users ${HOME} directory
david_williams944068e2007-02-10 19:13:11 +00006
david_williamsed5201c2007-05-27 05:48:38 +00007# have to code this here, not include,
8# since normally the properties.shsource is in a different directory
david_williams944068e2007-02-10 19:13:11 +00009updateToolsDir=org.eclipse.wtp.releng.webupdatesite
david_williams71b3a722007-12-14 00:02:31 +000010relengProject=webtools.releng
david_williams944068e2007-02-10 19:13:11 +000011
david_williams5ab56042007-06-28 03:23:33 +000012echo " "
david_williamscdeaa702007-05-26 22:12:58 +000013echo " Removing old ${updateToolsDir} and exporting fresh HEAD versions."
david_williams5ab56042007-06-28 03:23:33 +000014echo " "
david_williams944068e2007-02-10 19:13:11 +000015
david_williamscdeaa702007-05-26 22:12:58 +000016rm -fr ${updateToolsDir}
david_williams5ab56042007-06-28 03:23:33 +000017echo " "
david_williams944068e2007-02-10 19:13:11 +000018
19# ISSUE: we should move away from using 'head' version
20# Note: we can use "local host" since we are running on the same cluser as the cvs server
21# otherwise, if running remotely, localhos should be changed to 'dev.eclpise.org'
david_williams71b3a722007-12-14 00:02:31 +000022cvs -Q -f -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -d ${updateToolsDir} -r HEAD ${relengProject}/${updateToolsDir}
david_williams944068e2007-02-10 19:13:11 +000023
david_williamscdeaa702007-05-26 22:12:58 +000024dos2unix -q ${updateToolsDir}/build-home/*.sh
25dos2unix -q ${updateToolsDir}/build-home/*.xml
26chmod -R +x ${updateToolsDir}/build-home/*.sh
david_williams944068e2007-02-10 19:13:11 +000027
28
29echo " for complete refresh, use something similar to following"
30echo " "
david_williams28e61e52007-05-27 04:20:10 +000031echo " screen -D -RR -h 5000"
david_williams5ab56042007-06-28 03:23:33 +000032echo " "
david_williamscdeaa702007-05-26 22:12:58 +000033echo " cd ${updateToolsDir}/build-home/"
david_williams5ab56042007-06-28 03:23:33 +000034echo " "
david_williams54b649c2008-03-04 08:01:30 +000035echo " # for Ganymede"
36echo " ./runUpdateAllProjects.sh Ganymede | tee out.txt"
37echo " # or "
david_williamsfcaa81c2007-10-11 19:21:37 +000038echo " ./runUpdateAllProjects.sh Ganymede -clean | tee out.txt"
39echo " "
david_williams944068e2007-02-10 19:13:11 +000040echo " #for Europa"
david_williams54b649c2008-03-04 08:01:30 +000041echo " ./runUpdateAllProjects.sh Europa | tee out.txt"
42echo " # or "
david_williams5ab56042007-06-28 03:23:33 +000043echo " ./runUpdateAllProjects.sh Europa -clean | tee out.txt"
44echo " "
45echo " #for Callisto"
david_williams2b925b12007-05-27 06:38:35 +000046echo " ./runUpdateAllProjects.sh Callisto -clean | tee out.txt"
david_williams5ab56042007-06-28 03:23:33 +000047echo " "
48echo " "
david_williams944068e2007-02-10 19:13:11 +000049echo " When complete, be sure to inspect or at least grep the out.txt file for anomilies, e.g. "
50echo " grep failed out.txt"
51echo " grep error out.txt"
52echo " grep exception out.txt"
david_williamscdeaa702007-05-26 22:12:58 +000053echo " "
54