CS286r: Getting the Environment Set Up
- Get an
EECS account by going to Aaron Mandel (eecs office is MD 211) and asking
nicely. Tell him that you are in cs286r, so that he adds you to the cs286r
group. If you already have an eecs account, email aaron@eecs and ask to be added to the cs286r group.
- Login
to bowser.eecs.harvard.edu. Type
groups
and hit return. You should see cs286r show up on the list.
- Download
and install a Java runtime environment.
Hints from the Eclipse FAQ: “Once you have
installed a Java developer kit, you can use the -vm command line argument to
launch eclipse. For example, if you have installed a Java developer kit in
c:\jdk1.3, you can launch eclipse with the following command line:
eclipse.exe -vm c:\jdk1.3\bin\javaw.exe
NOTE: Some Java runtimes and developer kits install
themselves on the system path automatically. If this happens, you do not need
to specify a JRE when you launch eclipse. If you want to use a different Java
runtime or want to be sure of which Java runtime you are running, simply use
the -vm argument and eclipse will use the Java runtime you specify.”
- Download and install Eclipse. Note: I created this web page
with screenshots from Eclipse 2.1.2, but Ben says good things about
3.0M7, a beta release of the next version. The process is basically the same.
Run
eclipse.exe in your installation directory.
- From
the menu, select Window
then Open Perspective. If you don’t see CVS Repository Exploring then select
Other and then select CVS
Repository Exploring.
- Right
click on the big blank space in the CVS Repositories subwindow, and select
New, then Repository Location.
Fill it in like this:

bowser.eecs.harvard.edu
/home/cs286r/cvsroot
your eecs
login name
your
password
connection
type: extssh
use
default port
validate
connection
- If all
went well, you should see something like:

Now, click on HEAD. You should see CombinatorialExchangeAPIs. Right click this, and select Check out as Project:

- Now,
on that left hand bar, click the top left button (the one that has a plus in
the upper right hand corner.) When you hover over it, it should say Open a Perspective.
- Select
Other…
- Select
Java and Java Browsing. For
instance, Java Browsing gives you a world view of the project:

- This
next picture demonstrates changing some code (1), Clicking the CVS Perspective (2), Synchonizing
your local code with the CVS repository (3) Note: If using Eclipse 3.0, the procedure to synchronize and commit is different - you right click in the Java perspective, click Team, and click then click Synchronize or Commit as appropriate. First you sync, then you commit. clicking the synchronize tab
to notice no conflicts, and the files that you have that are different
than the repository (4). Finally, right-click on the top level project
name and select Commit

- Type
something useful into the commit message. This will help you figure out
changes later, and will help others read your updates.

If you refresh your CVS
Perspective, you can see that the file is now incremented to version 1.2 (1), and you can right
click and see the CVS Version History.

Interface Notes
To get a handle on all those files, you may also find the following useful. The following two pictures are the interfaces as of 3/16 (subject to change); you can find copies of these pictures in the cvs tree under the doc directory.
3/20 THESE PICTURES ARE OUT OF DATE!