Tag Archives: eclipse

Sync Multiple Eclipse to a Single GitHub Repository

I configured eclipse and eGit in two different laptops to integrate my git repository with my development copy of source code. Now I can easily make changes in local repository and push it to github. But the problem is if I am editing something in first laptop and pushed it to github. Now on the second laptop I dont have the latest code. So I need to pull from github. I search a lot in eclipse but unable to find anything useful. After putting a lot of efforts I finally found a way to pull the code from github using command line. I just need to add a new repository. Let us call it upstream. To do this I issued following command:

Lets Start Java

From last few days I was struggling with Eclipse and Tomcat. I was not able to execute servlet from Eclipse IDE. After doing a lot of research finally I got the solution. All I need to do is to copy a folder “tomcat/webapps/ROOT” to “workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps” (or …/tmp1/wtwebapps if you already configured another server).

Source: http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html