We will be using CVS and some locally-developed scripts to manage distribution
and updating of the course project infrastructure. Each group will create a
group-shared CVS
repository holding the project software, and each group member will check out
their own copy of the group software to work on, using CVS to coordinate among
group members. If
there are bug fixes that we wish to provide you with, our scripts will allow you
to integrate our updates with your own changes via the CVS repository.
The following instructions tell you how to get set-up initially, and how to update
your CVS repository if we provide any bug fixes or skeleton code.
% /cse/courses/cse501/06wi/bin/cvs-initial-import <group_name>This will create a CVS repository in the directory .CVS under your group directory, and import the initial project software distribution into it.
% /cse/courses/cse501/06wi/bin/cvs-checkout-and-setup <group_name> <user_name>This will create a directory <user_name> under your group directory. Then it will check out a copy of the repository into this directory, and finally call the Vortex SETUP script to set things up (which takes a while to run). You are successfully set-up if the directory /projects/instr/06wi/cse501/<group_name>/<user_name>/vortex contains the files SETUP-{Vortex,Diesel,Java}.<arch>.done, where <arch> depends on what OS you're running on, e.g. linux.
setenv VORTEX_HOME /projects/instr/06wi/cse501/<group_name>/<user_name>/vortex
if (-f ${VORTEX_HOME}/bin/shell/vortex.cshrc) then
source ${VORTEX_HOME}/bin/shell/vortex.cshrc
else
setenv VORTEX_ARCH unknown
endif
% setenv CVS_RSH sshThen it will checkout a copy of the repository into <VORTEX_DIR>, and call the Vortex SETUP script to set things up (which takes a while to run). You are successfully set-up if the directory <VORTEX_DIR>/vortex contains the files SETUP-{Vortex,Diesel,Java}.winnt.done.
% cd <VORTEX_DIR>
% cvs -d <user_name>@lagoon.cs.washington.edu:/projects/instr/06wi/cse501/<group_name>/.CVS co vortex
% cd vortex
% setenv VORTEX_HOME <VORTEX_DIR>/vortex
% mkdir $VORTEX_HOME/bin/winnt
% <ftp the file /projects/cecil/bin/winnt/vortex.exe to the file $VORTEX_HOME/bin/winnt/vortex.exe>
% $VORTEX_HOME/bin/shell/SETUP
setenv CVS_RSH ssh
setenv VORTEX_HOME <VORTEX_DIR>/vortex
if (-f ${VORTEX_HOME}/bin/shell/vortex.cshrc) then
source ${VORTEX_HOME}/bin/shell/vortex.cshrc
else
setenv VORTEX_ARCH unknown
endif
Then each person from the group should run:% /cse/courses/cse501/06wi/bin/cvs-import-latest <group_name>
% cd /projects/instr/06wi/cse501/<group_name>/<user_name>/vortex % cvs update -d -P