Friday, March 16, 2012

Installing ReviewBoard plugin in Eclipse IDE


ReviewBoard (www.reviewboard.org/) is a nice code review web tool. ereviewboard (http://marketplace.eclipse.org/content/ereviewboard) is the corresponding plugin for Eclipse IDE. Below are the steps mentioned to integrate it with Eclipse IDE :

  • Goto Help->Install New software
  • Use URL http://rombert.github.com/ereviewboard/update/ and install "Mylyn Reviews Connector: ReviewBoard" and "Mylyn Reviews Connector: Review Board Subeclipse integration" (there are 3 connectors available, choose the appropriate one...here i am assuming subversion)
  • If subeclipse is not installed, use url http://subclipse.tigris.org/update_1.6.x
  • After installation, Open the task repositories view by navigating to Window -> Show View -> Other -> Mylyn -> Task Repositories
  • Click the "Add Task Repository" button located in the view's toolbar.
  • Select reviewboard and enter server as your reviewboard weburl (ex : http://192.168.x.x), username, password (Save password) and finish.
  • Now, Right-click on a Project and select Team -> Create Review Request will post to reviewboard (if you dont see such a option trying restarting eclipse)

Some helpful links :
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.mylyn.help.ui/userguide/Task-Repositories.html
https://github.com/rombert/ereviewboard/wiki/Subclipse-integration

Remarks :
This tool can only post diff's of 1 project to reviewboard. Multiple project diff are not supported

6 comments:

  1. Hi i am using eclipse juno, when i tried above steps i am getting error when i try to install new software by giving "http://rombert.github.com/ereviewboard/update/" URL

    ReplyDelete
  2. Thanks Pratyush for your post..
    Do you know of any such integration which allows us to review the uploaded patches in eclipse?
    The reviewboard diff UI and all other features are really nice, but along with the diff, we have to check other affected code in eclipse to checkout other files which are not part of this diff. e.g. see the callers of the function getting modified so as to verify certain things.

    ReplyDelete
  3. Hi, Pratyush. I install the ereviewboard 0.13.2.201303212 version on the MyEclipse 2014 platform. Everthing is ok but the last step, I can't find the "Create Review Request" option in the team->git. Why? what I miss in all steps? Waiting for your replay, thanks.

    ReplyDelete
    Replies
    1. can't see the "create review request" link either ... repository validated without any issues

      Delete
    2. Did you find any solution for this? Repository validation is done but not able to see "create review request" option when I right click on project/file. I am using CVS.

      Delete
  4. Thanks for your documentation. I came to the step of setting up the server, but I have no idea how to fill in those data (Server, Label, User ID, and Password). Do I have to apply for an account somewhere? If yes, where? Thanks.

    ReplyDelete