Getting started with Eclipse
I'm going to assume you already have Eclipse downloaded and installed.
Nelson Padua-Perez has set up an
Eclipse
tutorial, that covers some of the same material as described below, as well as some stuff about getting started in Eclipse.
Installing required plugins
You need to install the course project manager plugin in order
to allow Eclipse to talk to the submit server. We also provide
Clover (a code coverage tool) for download (we have an academic license for
Clover).
- Select Help -> Software Updates -> Find and Install
- Select "Search for new features to install", then Next >
- Select "New Remote Site..."
- Add a remote site with Name "UMD CS Eclipse" and URL
"http://www.cs.umd.edu/~pugh/eclipse"
- Select "Finish"
- Check the checkbox my UMD CS Eclipse, select "Next >"
- Accept the license terms, select "Next >"
- Select "Finish"
- When it warns you that the features haven't been signed, select "Install All"
- When it asks to restart in order for changes to take effect, select "Yes"
This is all shown in a movie
Checking out project 1
- Go to the CVS Repository Exploring Perspective
- Add a CVS repository, using (substituting your account for cs433XXX)
- host: linuxlab.csic.umd.edu
- repository: /afs/csic.umd.edu/users/mwh/cvs433Spring2006/cs433XXX
- username cs433XXX
- password: *****
- Connection type: extssh
- Save password: checked
- Select "Finish"
- Once it completes checking out your project, go to the
Java perspective.
- Then select New -> Project. Click on CVS and select Checkout Projects from CVS. Click "Next".
- Click "Use existing repository location" and select the repository
that appears in the window, which you just set up. Then click "Next".
- Click "Use specified module name" and type in "Project1". Then
click "Finish". This should check out the project into Eclipse. (Note
that this is not the only way to do this; see the Eclipse tutorial for
more info.)
- Finally, you will need to enable submission capabilities for the
project. To do this, right click on the project in the Package
Explorer view and select "Properties". Then select "Course Project
Management" and in the adjacent pane click "Enable Course Project
Management". The two sub-buttons are enabled by default; we will discuss
the purpose of these in class.
- Now you will be able to submit your project. Right click on the
project name in the Pacakge Explorer view and select "Submit Project".
Assuming that all goes well, you will see a dialog that indicates
whether submission was successful. Now you can go to the submit
server to see whether your project passed the necessary tests.
Setting up the repository is shown in a movie
(taken from last semester, so the repository location is
different in the movie).