This page last changed on Nov 04, 2009 by smaddox.

Once you have set up your Crucible server as an Eclipse task repository, you can create a Crucible review without leaving Eclipse. The Atlassian Connector for Eclipse allows you to create patch reviews, as described below, and also post-commit reviews, as described in another topic.

A patch review allows you to ask your colleagues to review a proposed change before you have committed it to your source repository.

To create a patch review,

  1. Create the patch from the changes you have made to your source file in the Eclipse editor, and copy the patch to your clipboard. Here are some brief instructions, in case you have not done this before:
    • Save the changes you have made to your source file locally. There is no need to commit these changes to your source repository.
    • Right-click on your source file in the Eclipse editor and select 'Team', 'Create Patch'.
    • The 'Create Patch' window appears. Select 'Save to Clipboard'.
    • Click 'Next'.
    • Leave the 'Advanced options' set to the default values. Click 'Finish'.
  2. If you have not already set up a task repository for your Crucible server, please do so by following the steps in the configuration guide
  3. Open your Eclipse 'Task Repositories' view and find the task repository that you defined for your Crucible server:
    • In the Eclipse toolbar, select 'Window', 'Show View', 'Other'.
    • The 'Show View' popup window appears. Open the 'Tasks' folder and click 'Task Repositories'.
    • The 'Task Repositories' view appears, as shown in diagram 1 below. (If you have trouble finding the 'Task Repositories' view, try the full instructions with screenshots.)
  4. Right-click the task repository that you defined for your Crucible server and select 'New Task'.
  5. The 'New Crucible Review' window appears, as shown in diagram 1 below. Select 'From a Patch' and click 'Next'.
  6. The 'New Crucible Review' window now prompts you to add your patch from your clipboard, as shown in screenshot 2 below. Your patched change will appear in the box on the page, because you have already copied it to your clipboard.
  7. Select 'Include this Patch from the clipboard to the review'.
  8. Select your repository on your Crucible server.
  9. Click 'Next'.
  10. The 'New Crucible Review' window now prompts you for the review title and other details, as shown in screenshot 3 below. Enter the details and click 'Finish'.


Diagram 1: Adding a review as a task in your Crucible repository


Screenshot 2: Adding a patch to your review




Screenshot 3: Adding the review details



Next, see how to conduct a pre-commit review.

RELATED TOPICS

Working with Crucible Reviews in Eclipse

Refer to the Crucible documentation for more information about Crucible reviews.


Adding a patch review (application/octet-stream)
CrucibleCreatePatchReview3.png (image/png)
CrucibleCreatePatchReview4.png (image/png)
CrucibleCreatePatchReview1.jpg (image/jpeg)
CrucibleCreatePatchReview2.jpg (image/jpeg)
Adding a patch review (application/octet-stream)
Adding a patch review (application/octet-stream)
Document generated by Confluence on Mar 17, 2010 21:17