Now you can import the projects required from Git.
First, go to „File > Import…“
Then select „Projects from Git“
and „Clone URI“ to clone an existing repository:
To get the URI, you have to open https://github.com/hasselbach/ and select the repository „ch.hasselba.concurrent„. Click the „Clone or download„-Button and copy the URI from the opening box:
Paste the URI into the location in Eclipse
In the next dialog, you can choose the branch to import. In this case, only „master“ exists
Now you have to choose a local destination where the cloned repository will be stored
Select „Import existing Eclipse projects„…
… and select all projects of the repository:
With „Finish„, the sources are downloaded. In the „Project Explorer„, you can see the three imported projects. And you can see the original repository name and the current branch you are working on:
The JRE used for the project can be seen if you expand one of the projects. „Sometimes“ this changes magically, and the build will fail – that is one of the first things you have to check if you have errors in a OSGi project.
Now, do the same for the „domino-rest-servlet“ repository. But instead importing the „master“ branch, select the „highperformance“ branch only.
That’s it. In the next post, we have take a look in what you have downloaded.
Hi Sven,
thank you so much for providing such a great posts!
Probably a silly question (maybe I have missed it somehow): is it any other way of some so called „in-place“ deployment of the code in order to simplify debuggin&development rather than going via standard way of plugin deployment into UpdateSite.nsf?
Thank you so much for your feedback!
If you are connected with Eclipse debugger, you can use hot code replace to change your code during runtime. This works, but I can recommend JRebel https://zeroturnaround.com/software/jrebel/ as very nice helper for development.
Thank you for quick response, will investigate right now!
Sven, if are are okay, I leave it here for those who also curious about the same question:
Setup Eclipse IDE for XPages Development
https://www.youtube.com/watch?v=dchOyzjy9L4