Using Eclipse for the CS Teaching Lab
These instructions should be used to start computer science assignments in the lab that utilize the Eclipse IDE to develop Python programs for computer science courses. If there are questions, please visit during lab hours M-Th 7 - 9 pm, or contact J.D.
- login using your user name and password (best to change your password from the initial one, use "yp")
- start eclipse using the icon on the dock (deathstar) or locate it in Applications -- if you need, you can enter "eclipse" from a terminal window as well
- when asked to select a workspace, click on "browse" to select the workspace for the course
- click on arrow in upper right to go to workspace
- open window/preference, click on the triangle beside
"Pydev", and set "Interpreter-Python" (not jython) to
/usr/bin/python
- window/open perspective/other ... pick cvs-repository exploring, hit OK
- IF you have not done so for a previous lab, then in the upper left there is a small icon to add cvs repository, click it and complete the form as follows:
- Host: moe.cs.haverford.edu
- Repository Path:
/home/your-user-name/course-number/Repository
(for example, /home/jd/cs105/Repository)
- user: your-user-name
- password: your-password
- Connection type: extssh
- Use Default Port should be ON
- Use Port ... should be OFF
- check Validate "Connection on Finish" and "Save Password"
- click on "finish"
- click on the triangle by cvs repository that you just created ("ext:...")
- click on the triangle by HEAD -- you should now see a list of lab projects
- right-click on the project you need and choose "check out" -- after this step, you'll actually have your files
- window->open perspective->other to get the Pydev perspective
- NOW YOU CAN WORK ON THE LAB!
- To run your lab,
right-click on the file name (e.g. power.py) and select "Run As->Python Run"
- To submit you work or make a backup copy, right-click on the project and choose "Team->Commit"
Please ask any faculty member or TA if you run into technical issues.