blob: 778ede505fb39375e3ef0d121f40c405c63afdc2 [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_williams889b15f2009-06-03 01:26:54 +000035echo " # for Galilo"
36echo " ./runUpdateAllProjects.sh -vcs Galileo -b <buildrepositorypath> | tee out.txt"
david_williams5ab56042007-06-28 03:23:33 +000037echo " "
david_williams889b15f2009-06-03 01:26:54 +000038echo " # for Galilo"
39echo " ./runUpdateAllProjects.sh -vcs Galileo -b "$HOME"/downloads/webtools/downloads/drops/R3.1/S-3.1RC3-20090602055316/updateSite | tee out.txt"
40echo " "
david_williams944068e2007-02-10 19:13:11 +000041echo " When complete, be sure to inspect or at least grep the out.txt file for anomilies, e.g. "
42echo " grep failed out.txt"
43echo " grep error out.txt"
44echo " grep exception out.txt"
david_williamscdeaa702007-05-26 22:12:58 +000045echo " "
46