简体   繁体   English

如何用Java EE Eclipse打开项目?

[英]how to open project with Java EE Eclipse?

Like this: 像这样:

替代文字

the "open project" item's color is grey. “打开项目”项目的颜色为灰色。

Project > Open Project and Project > Close Project may no be what you think, they apply to projects that are already in the workspace and are closed/open respectively. 项目>打开项目项目>关闭项目可能不是您的想法,它们适用于已经在工作区中并分别关闭/打开的项目。 From the Eclipse documentation : Eclipse文档

When a project is closed, it can no longer be changed in the Workbench and its resources no longer appear in the Workbench, but they do still reside on the local file system. 当项目关闭时,它不能再在Workbench中更改,并且其资源不再出现在Workbench中,但它们仍然驻留在本地文件系统上。 Closed projects require less memory. 封闭项目需要更少的内存。 Also, since they are not examined during builds, closing a project can improve build time. 此外,由于在构建期间不会检查它们,因此关闭项目可以缩短构建时间。

You are probably looking for File > New > Project that would open the following wizard (select the type of project you want to create and follow the steps): 您可能正在寻找将打开以下向导的文件>新建>项目 (选择要创建的项目类型并按照步骤操作):

替代文字
(source: eclipse.org ) (来源: eclipse.org

To import an existing Eclipse project, use File > Import > Existing Project into Workspace . 要导入现有Eclipse项目,请使用“ 文件”>“导入”>“将现有项目导入工作区”

You need to first create a project using File -> New Project. 您需要首先使用File - > New Project创建项目。 Then the project you've created must be closed before you can then open it. 然后必须关闭您创建的项目,然后才能打开它。

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

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