importing a project into eclipse using egit

允我心安 提交于 2019-12-06 12:25:09

问题


I am trying to import this project into eclipse using the egit plugin. I have been using this tutorial to learn how. But the problem is figuring out what to enter into the dialog box within eclipse. Neither of the links above provide adequate information about that. I am including a picture of the eclipse dialog box below. Can anyone show me what to put into each input field in the dialog box?


回答1:


Here's what you do

  1. Right-click Project Explorer and select Import > Import...
  2. Select Git/Projects from Git. Click next. Select URI and next.
  3. Enter https://github.com/SpringSource/spring-mvc-showcase.git (the git link) into the URI text field. Click next twice.
  4. Select a directory and click next.
  5. Select Import as general project. Click next.
  6. Give it a project name. Click Finish.
  7. Right-click the new project, select Configure -> Convert to Maven project
  8. Right-click the project, select Run As -> Run on Server

I've tried this and it works on Juno with Tomcat 7.0.22.



来源:https://stackoverflow.com/questions/18477048/importing-a-project-into-eclipse-using-egit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!