简体   繁体   English

在eclipse中导入源项目

[英]Import source project in eclipse

I need to import a source Project in eclipse.我需要在 Eclipse 中导入一个源项目。 The project is made by many folder like Classes (that contain .class files), src(that contain .java files) and many others.该项目由许多文件夹组成,如 Classes(包含 .class 文件)、src(包含 .java 文件)和许多其他文件夹。 The source project and the instructions on how to set up eclipse are reported at this link . 此链接报告了源项目和有关如何设置 eclipse 的说明。 I tried to follow them but I haven't got anything.我试图跟随他们,但我什么也没得到。 I think this is a simple thing but I'm new to eclipse.我认为这是一件简单的事情,但我是日食的新手。

My eclipse actual version is eclipse java neon 2. My OS is ubuntu.我的 eclipse 实际版本是 eclipse java neon 2。我的操作系统是 ubuntu。

You could choose to create a new Project from the File Options and then select Project from existing sources which choosing the source directory.您可以选择从文件选项创建一个新项目,然后从选择源目录的现有源中选择项目。

Second approach could be to just use File > import Project wizard.第二种方法可能是仅使用文件 > 导入项目向导。

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

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