Difference between revisions of "CVS HowTo"

From CMSC 420
(Updated the environment setting from summer I to spring2011. verified linux.glue.umd.edu instead of linuxlab or just glue, accordingly chnaged username requirement in second part.)
Line 6: Line 6:
 
We don't want to use your old grace repository as your malloclab partner has access to that.
 
We don't want to use your old grace repository as your malloclab partner has access to that.
  
# Login to USERNAME@glue.umd.edu
+
# Login to USERNAME@linux.glue.umd.edu
 
# $ mkdir 420CVS
 
# $ mkdir 420CVS
# $ setenv CVSROOT /afs/glue/class/summer12010/cmsc/420/0101/student/USERNAME/420CVS
+
# $ setenv CVSROOT /afs/glue/class/spring2011/cmsc/420/0101/student/USERNAME/420CVS
 
# $ cd 420CVS
 
# $ cd 420CVS
 
# $ cvs init
 
# $ cvs init
Line 16: Line 16:
  
 
# In the CVS Perspective...
 
# In the CVS Perspective...
## Host: linuxlab.csic.umd.edu (should be glue.umd.edu ?)
+
## Host: linux.glue.umd.edu
## Repository Path: /afs/glue/class/summer12010/cmsc/420/0101/student/USERNAME/420CVS
+
## Repository Path: /afs/glue/class/spring2011/cmsc/420/0101/student/USERNAME/420CVS
## User: cs420xxx
+
## User: <directory username>
 
## Password: <your password>
 
## Password: <your password>
 
## Connection Type: extssh
 
## Connection Type: extssh

Revision as of 16:22, 27 February 2011

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.

Setting up your repository[edit]

We don't want to use your old grace repository as your malloclab partner has access to that.

  1. Login to USERNAME@linux.glue.umd.edu
  2. $ mkdir 420CVS
  3. $ setenv CVSROOT /afs/glue/class/spring2011/cmsc/420/0101/student/USERNAME/420CVS
  4. $ cd 420CVS
  5. $ cvs init
  6. $ chmod o-rwx $CVSROOT

Connecting with Eclipse[edit]

  1. In the CVS Perspective...
    1. Host: linux.glue.umd.edu
    2. Repository Path: /afs/glue/class/spring2011/cmsc/420/0101/student/USERNAME/420CVS
    3. User: <directory username>
    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.