CVS HowTo

From CMSC 420
Revision as of 01:16, 6 February 2017 by Btrap (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How To Set Up CVS for Meeshquest[edit]

CVS provides you with a backup on a secondary machine, the ability to roll back changes, and a convenient way to work from many machines on the same project. It would be a wise use of your time to set up CVS for this project.

YOU NEED TO DO THIS IF YOU WANT TO SUBMIT TO SUBMIT SERVER FROM ECLIPSE.

Setting up your repository[edit]

  1. Login to USERNAME@glue.umd.edu
  2. $ mkdir 420CVS
  3. $ setenv CVSROOT /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours)
  4. $ cd 420CVS
  5. $ cvs init
  6. $ chmod o-rwx $CVSROOT

Connecting with Eclipse[edit]

  1. In the CVS Perspective...
    1. Host: glue.umd.edu
    2. Repository Path: /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours)
    3. User: <directoryID>
    4. Password: <your password>
    5. Connection Type: extssh
    6. (Check 'Save password' to avoid entering your password each time)
  1. In the Java Perspective...
    1. Once you've created your project, right click on the project folder and click "Team->Share Project"
    2. Use the existing repository location you just created, and use all the defaults provided unless you have some compelling reason not to.