Difference between revisions of "CVS HowTo"
From CMSC 420
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
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. | 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 === | === Setting up your repository === | ||
− | |||
− | # Login to USERNAME@ | + | # Login to USERNAME@glue.umd.edu |
# $ mkdir 420CVS | # $ mkdir 420CVS | ||
− | # $ setenv CVSROOT /afs/glue/class/ | + | # $ setenv CVSROOT /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours) |
# $ cd 420CVS | # $ cd 420CVS | ||
# $ cvs init | # $ cvs init | ||
Line 16: | Line 17: | ||
# In the CVS Perspective... | # In the CVS Perspective... | ||
− | ## Host: | + | ## Host: glue.umd.edu |
− | ## Repository Path: /afs/glue/class/ | + | ## Repository Path: /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours) |
− | ## User: < | + | ## User: <directoryID> |
## Password: <your password> | ## Password: <your password> | ||
## Connection Type: extssh | ## Connection Type: extssh |
Latest revision as of 01:16, 6 February 2017
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]
- Login to USERNAME@glue.umd.edu
- $ mkdir 420CVS
- $ setenv CVSROOT /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours)
- $ cd 420CVS
- $ cvs init
- $ chmod o-rwx $CVSROOT
Connecting with Eclipse[edit]
- In the CVS Perspective...
- Host: glue.umd.edu
- Repository Path: /afs/glue/class/spring2017/cmsc/420/0101/student/<directoryID>/420CVS (replace <directoryID> with yours)
- User: <directoryID>
- Password: <your password>
- Connection Type: extssh
- (Check 'Save password' to avoid entering your password each time)
- In the Java Perspective...
- Once you've created your project, right click on the project folder and click "Team->Share Project"
- Use the existing repository location you just created, and use all the defaults provided unless you have some compelling reason not to.