问题
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
- Right-click Project Explorer and select Import > Import...
- Select Git/Projects from Git. Click
next. Select URI andnext. - Enter
https://github.com/SpringSource/spring-mvc-showcase.git(the git link) into the URI text field. Clicknexttwice. - Select a directory and click
next. - Select
Import as general project. Clicknext. - Give it a project name. Click
Finish. - Right-click the new project, select
Configure -> Convert to Maven project - 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