简体   繁体   English

使用egit将项目导入eclipse

[英]importing a project into eclipse using egit

I am trying to import this project into eclipse using the egit plugin. 我正在尝试使用egit插件将此项目导入eclipse。 I have been using this tutorial to learn how. 我一直在使用本教程来学习如何。 But the problem is figuring out what to enter into the dialog box within eclipse. 但是问题是弄清楚在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? 谁能告诉我在对话框的每个输入字段中输入什么?

Here's what you do 这是你的工作

  1. Right-click Project Explorer and select Import > Import... 右键单击Project Explorer,然后选择Import> Import...。
  2. Select Git/Projects from Git. 从Git中选择Git /项目。 Click next . 单击next Select URI and next . 选择URI, next选择next
  3. Enter https://github.com/SpringSource/spring-mvc-showcase.git (the git link) into the URI text field. 在URI文本字段中输入https://github.com/SpringSource/spring-mvc-showcase.git链接)。 Click next twice. 单击next两次。
  4. Select a directory and click next . 选择一个目录,然后单击next
  5. Select Import as general project . 选择Import as general project Click next . 单击next
  6. Give it a project name. 给它一个项目名。 Click Finish . 点击Finish
  7. Right-click the new project, select Configure -> Convert to Maven project 右键单击新项目,选择Configure -> Convert to Maven project
  8. Right-click the project, select Run As -> Run on Server 右键单击项目,选择Run As -> Run on Server

I've tried this and it works on Juno with Tomcat 7.0.22. 我已经尝试过了,它可以在Juno和Tomcat 7.0.22上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM