blob: daf5a1f093534acbc9d37b75b1252f3d14197b44 [file] [log] [blame]
# This script should be "copied up" and ran from a
# directory "above" the main working directories of
# org.eclipse.callisto.updatesite, and
# org.eclipse.callisto.tools
# this is typically the users $HOME directory
echo " "
echo " Removing old org.eclipse.callisto.* and exporting fresh HEAD versions."
echo " "
echo " Removing org.eclipse.callisto.updatesite."
rm -fr org.eclipse.callisto.updatesite
echo " Removing org.eclipse.callisto.tools."
echo " "
rm -fr org.eclipse.callisto.tools
# ISSUE: we should move away from using 'head' version
# Note: we can use "local host" since we are running on the same cluser as the cvs server
# otherwise, if running remotely, localhos should be changed to 'dev.eclpise.org'
cvs -Q -f -d :pserver:anonymous@localhost:/cvsroot/callisto export -r HEAD org.eclipse.callisto.updatesite
cvs -Q -f -d :pserver:anonymous@localhost:/cvsroot/callisto export -r HEAD org.eclipse.callisto.tools
chmod -R +x org.eclipse.callisto.tools/*.sh
chmod -R +x org.eclipse.callisto.tools/**/*.sh
echo " for complete refresh, use something similar to following"
echo " "
echo " cd org.eclipse.callisto.tools/build-home/"
echo " nohup ./runUpdateAllProjects.sh -clean | tee out.txt"
echo " "
echo " When complete, be sure to inspect or at least grep the out.txt file for anomilies, e.g. "
echo " grep failed out.txt"
echo " grep error out.txt"
echo " grep exception out.txt"
echo " "