Document Actions
How to Access the Course Examples
A brief guide on accessing the examples for your course using anonymous CVS
Using CVS enables me to make changes to course examples in such a way that you can easily update your downloaded copies of the examples without having to download the entire code or missing any of the changes. Only new changes, if any, are downloaded and automatically applied to your downloaded copies.
You can access the examples by using CVS in Eclipse or NetBeans anonymously using a pserver connection. When using the IDE's CVS client functionality, you will not need to use the command line or any other client to use CVS. The rest of this document covers the use of CVS through Eclipse. For information on the use of CVS through NetBeans, please refer to this guide.
In this document, the course number 437 is just an example. Use the main course number for your course (for example, 313 for Intermediate OOD, 473 for Advanced OOP, 442 for Server-Side Development, etc.).
Establishing Access to Example Repository
These are the one-time-only steps you should follow in Eclipse to establish access to the repository containing the examples:
Window > Open Perspective > Other... CVS Repository Exploring Right-click > New > Repository Location Host: cvs.cs.luc.edu Repository path: /root/laufer/437 User: anonymous Password: empty (no password) Connection type: PSERVER
Now the example repository location shows up in the CVS repository perspective.
Checking out an Example Project for the First Time
You can check out any project into your workspace from the CVS repository perspective. To browse the repository, expand its entry, then the node labeled HEAD, and note how the example projects show up as children of the HEAD:
:pserver:anonymous@cvs.cs.luc.edu:/root/laufer/437
HEAD
ClickCounter
ClickCounterMulti
...
CVSROOT
To check out a specific project, right-click on it and choose Check Out.
Updating Your Copy of an Example Project
From the Java or Resource perspective, you can update your copy of a project you already checked out:
Right-click on project > Team > Update Finish
