使用egit将项目导入eclipse [英] importing a project into eclipse using egit

查看:134
本文介绍了使用egit将项目导入eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用egit插件将此项目导入eclipse。我一直在使用本教程了解如何操作。但是问题是找出在eclipse中的对话框中输入的内容。上述链接都没有提供足够的信息。我在下面列出了eclipse对话框的图片。任何人都可以在对话框中的每个输入字段中显示什么?



解决方案

这是您的工作


  1. 右键单击Project Explorer,然后选择Import> Import .. 。

  2. 从Git中选择Git / Projects。点击 next 。选择URI和 next

  3. 输入 https://github.com/SpringSource/spring-mvc-将showcase.git (git链接)插入到URI文本字段中。点击下一步两次。

  4. 选择一个目录,然后点击 next 。 li>
  5. 选择导入为一般项目。点击下一个

  6. 给它一个项目名称。单击完成

  7. 右键单击新项目,选择配置 - >转换为Maven项目

  8. 右键单击项目,选择运行方式 - >在服务器上运行

我已经尝试过,它在Juno上与Tomcat 7.0.22一起工作。 / p>

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?

解决方案

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.

这篇关于使用egit将项目导入eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆