Computer_Science
 Home | People | Curriculum | Projects | Resources | Media

Using Eclipse to Obtain (and Submit) Lab Work

You should follow these instructions to obtain and submit work for CS courses, after you have completed the one-time setup for each course.

  1. Log in, start eclipse, and select the workspace for the course
  2. Switch to the "CVS Repository Exploring" perspective (use window->open perspective->other and pick "cvs-repository exploring", and hit OK) --- Eclipse should re-arrange the "panes" in the Eclipse window
  3. If you have completed the one-time setup, the "CVS Repositories" pane should show your repository (a line with a triangle, a cylinder icon, and text (for example :extssh:davew@moe.cs.haverford.edu:/home/davew/cs105/Repository)). If the "CVS Repository Exploring" perspective does not show you these panes, you can right-click on the title ("CVS Repository Exploring") in the upper left, and choose "Reset" to reset the perspective, which will re-arrange the panes. (If you can't even see the title "CVS Repository Exploring", enlarge the "file folder tab" on which perspective names are written, by clicking on its left border and dragging left.) Click on the triangle by the repository identifier --- Eclipse should show several things idented under it, including "HEAD", "Branches", and "Versions".
  4. Click on the triangle by "HEAD" --- after a pause, you should see a list of projects. WARNING: you will also see a list of projects if you open "Branches", and using this instead will appear to work until you try to submit your work, at which time you'll need to get help and do a lot of annoying cutting and pasting --- so don't do this!
  5. Check out the project you want, by right-click'ing on it's title and selecting "Check Out" from the menu --- Eclipse will obtain the "starter files" for the lab for you. WARNING:If you click on the triangle beside the name, you can see the file names in the project, and if you double-click on one, you can view it, BUT you will not be able to edit it until you do the "Check Out" instead.
  6. Switch to the "Pydev" perspective (or another perspective for any course that does not use Python): Use window->open perspective->other and pick "Pydev", and hit OK --- Eclipse should re-arrange the "panes" in the Eclipse window, showing you a list of projects on the leftmost "Navigator" pane.
  7. You can now work on the lab
    • double-click on a file name to edit it with Eclipse.
    • right-click on a Python file and choose "Run As->Python Run" to run a Python program
  8. To submit your work, or to make a back-up copy, right-click on the project title (in the Navigator pane), and choose "Team->Commit".

Please ask any faculty member or lab monitor if you run into technical issues.

Haverford College Page maintained by John Dougherty, David Wonnacott.
Computer Science Department, Haverford College.