ereviewboard icon indicating copy to clipboard operation
ereviewboard copied to clipboard

Randomly selection of Repository in Eclipse

Open ruchithakur639 opened this issue 10 years ago • 5 comments
trafficstars

Hi, Repository is getting selected by default randomly in my Eclipse. Please let me know about the logic by which Repository is coming while creating review request.

Please help me out to choose the correct repository.

ruchithakur639 avatar Apr 09 '15 19:04 ruchithakur639

Not sure if you asked for the implementation details, but here they are

https://github.com/rombert/ereviewboard/blob/42d4f5f725dec7ccef6980bdfbde27bf0cb20a87/org.review_board.ereviewboard.subclipse.ui/src/org/review_board/ereviewboard/subclipse/internal/wizards/DetectLocalChangesPage.java#L230-L247

It matches the remote (ReviewBoard) repository with a local (Eclipse) repository based on UUID values.

rombert avatar Apr 09 '15 21:04 rombert

Hi, Thanks a lot for the code details. I feel, ereviewboard is the future. Here. all are following it. I want to set up configuration to build the code present in github and contribute.

Please let me know if some reference documents are present. So that, I can follow to build in my machine. I am using Windows7 OS.

ruchithakur639 avatar Apr 10 '15 02:04 ruchithakur639

I want to set up configuration to build the code present in github and contribute.

Great! As prerequisites, you need to have a recent version of Eclipse with m2e integration, Maven and git installed. Then you can

  • clone the repository ( git clone https://github.com/rombert/ereviewboard.git )
  • build the repository locally ( cd ereviewboard; mvn clean verify )
  • import into Eclipse ( File -> Import Existing Maven Project ) ; import all the projects
  • set the Eclipse target platform to ereviewboard.target ( in Eclipse -> Preferences -> Plugin-in Development -> Target platform )

At this point the project should compile in Eclipse and you should be ready to go. Feel free to post questions in the discussion group about this process.

rombert avatar Apr 10 '15 14:04 rombert

Hi Robert,

I am very new to Plug-in development. I am done with the installations in my machine. While building the project, I am getting following errors in Eclipse:

image

Please let me know how to resolve those. Are we missing any jar files ?

After completion of successful building this project, please guide me how to go ahead with the plug-in development and installing the developed Plug-in in current Eclipse?

Thank you so much in advance.

ruchithakur639 avatar Apr 13 '15 03:04 ruchithakur639

While building the project, I am getting following errors in Eclipse:

Can you confirm what the target platform selection is? in Eclipse -> Preferences -> Plugin-in Development -> Target platform

rombert avatar Apr 13 '15 21:04 rombert