如何在 Eclipse 中安装 Web 平台工具?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/705837/
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
How to install Web Platform Tools in Eclipse?
提问by Click Upvote
Which URL do I install this and any pre-reqs from, and how can I install them? Been struggling with this for the last 1 hour with no luck.
我应该从哪个 URL 安装它和任何先决条件,以及如何安装它们?过去 1 小时一直在为此苦苦挣扎,但没有运气。
回答by Alexander Taylor
new 2013 answer: it seems to depend on what version of eclipse you're running.
2013 年新答案:这似乎取决于您正在运行的 eclipse 版本。
- click "help" -> "about eclipse sdk" to find the version (e.g. 4.2.2).
- optionally, from the version number you can know the codename (e.g. Juno) from wikipedia: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
- go here: http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
- right click on the correct WTP link copy the link address (e.g. WTP 3.4) (they should be listed by version and codename)
- now in eclipse, click "help" -> "install new software..." and paste the link location in the "work with" field (e.g. "http://download.eclipse.org/webtools/repository/juno/").
- choose "Web Tools Platform (WTP #.#.#)" and click next and install everything.
- restart eclipse, close all open files and re-open them for web tools to start working.
- 单击“帮助”->“关于 eclipse sdk”以查找版本(例如 4.2.2)。
- 或者,从版本号你可以知道维基百科的代号(例如朱诺):http: //en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
- 去这里:http: //wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
- 右键单击正确的 WTP 链接复制链接地址(例如 WTP 3.4)(它们应按版本和代号列出)
- 现在在 Eclipse 中,单击“帮助”->“安装新软件...”并将链接位置粘贴到“使用”字段中(例如“ http://download.eclipse.org/webtools/repository/juno/” )。
- 选择“Web Tools Platform (WTP #.#.#)”并单击下一步并安装所有内容。
- 重新启动 eclipse,关闭所有打开的文件并重新打开它们以使 Web 工具开始工作。
回答by sourcerebels
If you can use a clean install of Eclipse. Download Enterprise Java version. WTP its included in this Eclipse distribution. When you need updates for WTP, you can get updates via "Eclipse Software Updates" tool.
如果您可以使用 Eclipse 的全新安装。下载企业 Java 版本。WTP 包含在这个 Eclipse 发行版中。当您需要 WTP 更新时,您可以通过“Eclipse 软件更新”工具获得更新。
Regards
问候
回答by Rich
回答by Rahul Varadkar
You can download WTP from Eclipse Help Menu. Following is the link to download the WTP into Eclipse.
您可以从 Eclipse 帮助菜单下载 WTP。以下是将 WTP 下载到 Eclipse 的链接。
http://download.eclipse.org/webtools/updates
http://download.eclipse.org/webtools/updates
Install Software Menu in Eclipse
Following image show the Install New Software Window.
下图显示了安装新软件窗口。