|
QuickReference
Jupiter Quick Reference for those who have used Jupiter before.
This guide assumes that the user is familiar with the Eclipse IDE. 1.0 IntroductionJupiter is an open-source code review tool that has been developed for a very popular IDE called Eclipse. Jupiter easily plugs into Eclipse and allows for its users to faciliate code reviews on existing code. 2.0 Installation2.1 PrerequisitesJupiter requires Java 5 or newer and Eclipse 3.3 (Europa) or newer. Because Jupiter depends on team based work it is recommended that the project being reviewed be in a version control system (i.e. CVS or SVN). 2.2 Installing Jupiter from the Jupiter Update SiteThe best way to install Jupiter is by using the Software Update mechanism in Eclipse. This feature enables you to install or update Jupiter easily when new versions are released. Select "Help | Software Updates | Find and Install..", select the "Search for new features to install" option, and then add the update site by clicking on the "Add Update Site" button. Provide a name such as "Jupiter Update Server" and use the URL http://jupiter-eclipse-plugin.googlecode.com/svn/trunk/site/. Check the newly created Jupiter site, then follow the wizards to complete the installation process. 2.3 Installing Jupiter from downloaded jar fileGet the latest Jupiter release from http://code.google.com/p/jupiter-eclipse-plugin/downloads/list. You should get a jar file with a name similar to edu.hawaii.ics.csdl.jupiter_<version>.jar. Place the downloaded jar file in your eclipse/plugins directory. Jupiter will be available the next time Eclipse starts up. 2.4 UninstallationTo unistall the Jupiter plug-in, please follow the instructions carefully. Otherwise errors may occur (these errors will be shown in the error log of Eclipse).
3.0 Preparing a Review: Review ID CreationA Review ID needs to be created for each code review. Follow the following steps to create a new Review ID:
After the Review ID is created the .jupiter file for the project will be updated. It should be committed to version control. Everyone participating in the review will then need to update and get the updated .jupiter file. 4.0 Conducting a Review: Individual -> Team -> ReworkAfter Jupiter was installed, a purple Jupiter icon should have appeared on the Eclipse toolbar. This toolbar action will allow you to select the appropriate phase of review to be executed. Switching to the Jupiter perspective will also allow you to select the review phase. 4.1 Individual PhaseThe individual phase is done by all the people participating in the review. Each person will individually look through the files specified to be reviewed and add code review issues. To add an issue:
All issues can be revisited by looking in the Review Table. Double-clicking on any of the issues will open the associated file up to the line the issue is on and it will also load the issue back into the Review Editor. Jupiter creates a file for each reviewer in the project's review folder. Any files created in the review folder should be committed to version control. The files for all of the reviewers will need to be put into one place for use with the rest of the review phases. 4.2 Team PhaseAfter all the review files for all reviewers are in the review folder it is time to move onto the team phase. Team phase is done as a group. One person leads the team phase and together all of the code issues found are discussed. After switching to team phase the Review Table will populate with all the issues found. Double-clicking on an issue will open up the file it is associated with and show the line the issue is from. After reviewing the issue, you will then go to the Review Editor and assign the issue to one of the reviewers to be fixed. You will also set a resolution that deals with the validity of the issue. An annotation may also be added. After all the issues have been assigned, the reviewer files will have been updated. These should be committed to version control. 4.3 Rework PhaseEach of the reviewers will need now need to update their review folder and get the review files for all the reviewers in preparation for the rework phase. When entering rework phase Jupiter may prompt for the user. Just select the correct name and it will switch to rework phase. In rework phase, each reviewer that was assigned issues in team phase will individually fix the issues assigned to them. By default, the Review Table will only show the issues assigned to the user that was selected. To see all issues click the 'Filters...' button above the Review Table. As always, double-clicking on an issue in the Review Table will open up the file it is associated with and load the issue into the Review Editor. After you have fixed the issue in the code it is time to change the status of the issue. In the Review Editor set the status of the issue and add any additional notes. Any files that were updated in the review folder should be committed to version control. This will ensure that everyone else can see the changes made to the issues. 5.0 Legacy SupportIf you require Jupiter for Eclipse 3.2.x you can get it at http://jupiter-eclipse-plugin.googlecode.com/files/csdl.jupiter_3.2.1.zip. It only requires Java 1.4. |
Sign in to add a comment