Exercise 1.1: Importing the required resources

This exercise tells you how to import the sample project, CodeReview_Examples. You use the sample project to do Exercise 1.2: Running a code review and applying a quick fix.



Unzipping the sample project

The sample project for this tutorial is included in a ZIP file. The following steps lead you through extracting files from that ZIP file into your Workspace folder.

  1. Navigate to <installdir>\rad\eclipse\plugins\com.ibm.r2a.rad.tutorial.doc_6.0.0\resources where the ZIP file, CodeReview_Examples, is located.
  2. Extract CodeReview_Examples to <installdir>\updater\eclipse\workspace. The sample project files are extracted in your Workspace folder so you can import them.


Opening the Code Review view

To open a perspective showing the Code Review view:

  1. Start IBM Rational Software Development Platform 6.0.

  2. Click Window > Preferences.
  3. In the left pane expand Workbench and click Capabilities.
  4. In the Capabilities list click Java Developer. Then click OK.
  5. Click Window > Open Perspective > Java.
  6. Click Window > Show View > Other > Java > Code Review.
  7. Click Window > Show View > Other > Java > Package Explorer.

    After you open the Java perspective and show the Code Review and Package Explorer views, the perspective shows the views in the following screen capture. Your layout might differ. That is, the perspective might show the views in different locations. The tutorial uses the layout in the screen capture.



Importing the sample project

To import the sample project to the workspace:

  1. Right-click in the Package Explorer view to open the pop-up menu. Then click Import to open the Import wizard.
  2. In the Select list click Existing Project into Workspace. Then click Next.
  3. Next to the Project contents text box click Browse and select <installdir>\updater\eclipse\workspace\CodeReview_Examples.
  4. Click Finish The sample project and all its associated files are imported to Package Explorer.


Beginning the exercise

To begin go to Exercise 1.2: Running a code review and applying a quick fix.



Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.