安装 JBoss WTP 适配器后 Eclipse 没有“项目方面”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13235275/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse doesn't have "Project facets" after install of JBoss WTP adapter
提问by siebz0r
I'm trying to use project facets in Eclipse but the "project facets" section under "project -> properties" is gone. I noticed this when switching to Eclipse Juno from Eclipse Indigo. I thought this was related to Juno, so I switched back to Indigo, only to find the "project facets" were gone there too. I tried both versions as a fresh install and with a clean workspace.
我正在尝试在 Eclipse 中使用项目方面,但“项目 - > 属性”下的“项目方面”部分消失了。我在从 Eclipse Indigo 切换到 Eclipse Juno 时注意到了这一点。我认为这与 Juno 有关,所以我切换回 Indigo,却发现“项目方面”也不见了。我在全新安装和干净的工作区中尝试了这两个版本。
Searching the web for this issue only came up with "go to 'project -> properties -> project facets'", but this simply isn't possible.
在网络上搜索此问题只会出现“转到‘项目-> 属性-> 项目方面’”,但这根本不可能。
UPDATE:
更新:
I managed to break it down. The facet related stuff disappears after I installed the "JBossAS Tools" package from the JBoss update site (http://download.jboss.org/jbosstools/updates/development/juno/).
我设法打破了它。我从 JBoss 更新站点 (http://download.jboss.org/jbosstools/updates/development/juno/) 安装了“JBossAS Tools”包后,与 facet 相关的东西消失了。
Steps to reproduce:
重现步骤:
- Install Eclipse Juno (4.2.0)
- Install project facets from http://download.eclipse.org/releases/juno
- Under "Modeling": "EMF Facet SDK (Incubation)"
- Under "Web, XML, Java EE and OSGi Enterprise Development": "Eclipse Faceted Project Framework"
- After a restart see that Eclipse has possibility to create a faceted project (File -> New -> Other -> Faceted Project)
- Install "JBossAS Tools" from http://download.jboss.org/jbosstools/updates/development/juno/
- Restart, check for faceted things, aaand it's gone.
- 安装 Eclipse Juno (4.2.0)
- 从http://download.eclipse.org/releases/juno安装项目方面
- 在“建模”下:“EMF Facet SDK(孵化)”
- 在“Web、XML、Java EE 和 OSGi 企业开发”下:“Eclipse Faceted Project Framework”
- 重启后看到 Eclipse 有可能创建一个分面项目(文件 -> 新建 -> 其他 -> 分面项目)
- 从http://download.jboss.org/jbosstools/updates/development/juno/安装“JBossAS 工具”
- 重新启动,检查多面的东西,aaand 它消失了。
采纳答案by siebz0r
I installed the "JBossAS Tools" package from the nightly built update site. This didn't cause problems regarding project facets.
我从每晚构建的更新站点安装了“JBossAS Tools”包。这不会导致有关项目方面的问题。
Nightly update site: http://download.jboss.org/jbosstools/updates/nightly/core/trunk/
每晚更新站点:http: //download.jboss.org/jbosstools/updates/nightly/core/trunk/
回答by Krylose
This might depend on which install of eclipse you are using. In any case, you can download the needed packages to get Facets working.
这可能取决于您使用的 eclipse 安装。在任何情况下,您都可以下载所需的包以使 Facets 工作。
Facets are part of the Web Tools Platform. If you can't find it in the package manager, you can download it here:
Facets 是 Web 工具平台的一部分。如果在包管理器中找不到,可以在这里下载:
回答by Eugene Kuleshov
You should create your Eclipse project using File / New / Project... / General / Faceted Project
wizard or use project's popup menu Configure / Convert to Faceted From...
.
您应该使用File / New / Project... / General / Faceted Project
向导或使用项目的弹出菜单创建您的 Eclipse 项目Configure / Convert to Faceted From...
。