CMSC 341
Project 0
Available |
Now
|
Due |
Prior to project 1 |
The sole purpose of this Project is to test your ability to submit projects
using CVS. You don't have to do this project, and
will get no credit for doing it. However, if you don't do it and later
have trouble submitting a for-credit project, there will be no mercy!
If any part of the process described below fails, think about the error
message for a while and see if you can figure out what went wrong. If you
can't, email Dr. Oates from your GL
account. Cut and paste the command you entered and the response you
received into the body of the email.
Here are your tasks:
- Follow the directions in using CVS to check
out the project 0 repository. The following commands should work when run
from any gl machine (be sure to use your gl username in the second command):
cd
cvs -d /afs/umbc.edu/users/o/a/oates/pub/cs341f08/Proj0 checkout -d MyProj0 your_gl_username
- Write a small program, such as the "Hello World" program, in a
file named Proj0.java in your local copy of
the project 0 repository. For example:
cd MyProj0
emacs Proj0.java
After invoking emacs, or your favorite text editor, write whatever code you
want in Proj0.java, save it, and exit the editor.
- Follow the directions on using CVS to add
your Java file to the repository and check it in. For example:
cvs add Proj0.java
cvs commit
Note that when you commit changes, CVS will open an editor in which you are
supposed to type a log entry that describes what you've done to the code.
When you exit the editor your commit will be finalized.
- After checking in Proj0.java, remove that file from your working
directory and then run cvs update. If your Proj0.java reappears,
then everything is working correctly. For example:
rm Proj0.java
ls
cvs update
ls