To use CVS from inside Eclipse: 1. Set-up the repository (in one team-member account). On ieng9 do the following: A: First, you must edit your '.cshrc' file to get access be able to execute CVS. Your '.cshrc' file is located in your home directory of your oce account. Simply add this command to the end of your .cshrc file: set path=(/software/common/gnu/bin $path) If you are not using the CSH or TCSH shells, this command may vary slightly. B: Next set up a directory for your team's CVS repository. Create a directory in your class account, e.g., 'mkdir cvsrepos'. Next initialize the repository as follows: 'cvs -d `pwd`/cvsrepos` init'. Lastly set permissions for your group: 'chmod -R g+rw cvsrepos'. 2. Set-up Eclipse (on any machine that will hold a check-out) In Eclipse, do the following: First import the project as specified in EclipseREADME.txt, contained in the project tarball and on the class web site. Next get the newest version of the file "build.xml" from the public directory (/home/solaris/ieng9/cs131f/public) and copy it into your project directory. Also grab the file ".cvsignore" from the public dir and copy it into your project directory. Setup Eclipse to 'make clean'. From the menu select 'Run' -> 'External Tools' -> 'External Tools'. Select 'cse131b build.xml' which should be located under Ant. Click on 'New', change the Configuration name to 'clean'. To set 'Location' click 'Browse Workspace' and select build.xml from the right window then select 'Ok'. To set 'Base Directory' click 'Browse Workspace' then 'cse131b' and then 'Ok'. Now select the 'Targets' tab and uncheck 'oberon' and check 'clean'. Now click 'Apply' and then 'Run'. Now import the project into your team's CVS repository. Right click on your project 'cse131b' and select 'Team' -> 'Share Project'. Select 'Create a new repository location' -> 'Next'. Now enter the appropriate info 'Location: ieng9.ucsd.edu', 'Repository path: /home/solaris/ieng9/cs131f//cvsrepos', 'User: ', 'Password: ', 'Connection type: extssh'. Now click 'Finish'. Now a 'Synchronize - Out going Mode' should appear in the middle right of Eclipse's window. Right click on 'cse131b [ieng9.ucsd.edu]' and select 'Add to Version Control'. Now right click on the project 'cse131b' and select 'Team' -> 'Commit'. Your CVS repository is now populated. 3. Do a team member check out: On ieng9: Perform step 1.A, if it has not already been performed. In Eclipse: Now to checkout the project from your team's CVS repository. Right click on your project 'cse131b' and select 'Team' -> 'Share Project'. Select 'Create a new repository location' -> 'Next'. Now enter the appropriate info 'Location: ieng9.ucsd.edu', 'Repository path: /home/solaris/ieng9/cs131f//cvsrepos', 'User: ', 'Password: ', 'Connection type: extssh'. Now click 'Finish'. A 'Select Tag' window will pop up double click on head. Now a 'Synchronize - Out going Mode' should appear in the middle right of Eclipse's window. Right click on 'cse131b [ieng9.ucsd.edu]' and select 'Update from Repository'. Now add the tools.jar as noted in the EclipseREADME.txt. Right click on the project 'cse131b' and select 'Refresh'. Now you should be able to build the project by selecting 'Project' -> 'Rebuild Project'.