CS286r: Getting the Environment Set Up

 

  1. 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.

 

  1. Login to bowser.eecs.harvard.edu. Type groups and hit return. You should see cs286r show up on the list.

  2. Download and install a Java runtime environment.

 

Vendor

Platform

Links

 

 

 

IBM

Linux

IBM Developer Kit for Linux, Java™ 2 Technology Edition, Version 1.4.1

Sun

Windows/Linux

Java 2 Platform Standard Edition 1.4.2 (not 1.5 Beta)

 

 

 

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.”

  1. 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.

 

  1. 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.

 

  1. 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

 

  1. 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:

 

 

  1. 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.

  2. Select Other…

  3. Select Java and Java Browsing.  For instance, Java Browsing gives you a world view of the project:

 

 

  1. 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

 

 

  1. 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!