安装 eclipse Web Tools Platform (WTP) - 更新站点不起作用?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2320425/
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
Installing eclipse Web Tools Platform (WTP) - update site does not work?
提问by FrustratedWithFormsDesigner
I'm trying to install the WTP (web platform tools) to my Eclipse installation so I can get the XSL transformations working. The base Eclipse they installed for me here was the plain Java IDE (the splash screen says "Ganymede" if that means anything). Looking at this site, the URL to get the download should be here: http://download.eclipse.org/webtools/updates/...But when I give that URL to the Eclipse update manager, I get an error telling me: "No repository found at http://download.eclipse.org/webtools/updates/"
我正在尝试将 WTP(Web 平台工具)安装到我的 Eclipse 安装中,以便我可以使 XSL 转换工作。他们在这里为我安装的基本 Eclipse 是普通的 Java IDE(如果这意味着什么,启动屏幕会显示“Ganymede”)。查看此站点,获取下载的 URL 应在此处:http: //download.eclipse.org/webtools/updates/...但是当我将该 URL 提供给 Eclipse 更新管理器时,我收到一条错误消息,告诉我:“在http://download.eclipse.org/webtools/updates/ 上找不到存储库”
Anyone else had this problem? Anyone know what might be up? Anyone know how to get the xsl-transform plugin installed?
还有其他人有这个问题吗?有谁知道可能会发生什么?有人知道如何安装 xsl-transform 插件吗?
EDIT:
编辑:
I should have mentioned before that I want to find a way to do this without installing any new instances of Eclipse. This process will eventually be sent to several other developers who already have Eclipse (same version that I'm testing with) and I'd rather just do an in-place upgrade rather than have everyone go and install a new product.
我之前应该提到过,我想找到一种方法来做到这一点,而无需安装任何新的 Eclipse 实例。这个过程最终将发送给其他几个已经拥有 Eclipse(与我正在测试的版本相同)的开发人员,我宁愿只是进行就地升级,而不是让每个人都去安装新产品。
UPDATE:
更新:
I found another plugin, Xcarecrows 4 XMLwhich can also do XSL transforms. The interface is ugly and seems more than a little quirky, but it's also a small download, and at least it runs and transforms. Unless I can find an easy way to get WTP working, I'll probably just stick with this.
我找到了另一个插件,Xcarecrows 4 XML,它也可以进行 XSL 转换。界面丑陋,看起来有点古怪,但它也是一个小下载,至少它可以运行和转换。除非我能找到一种简单的方法让 WTP 工作,否则我可能会坚持下去。
采纳答案by FrustratedWithFormsDesigner
Ok, I can probably get it working if I do a clean install of Eclipse. I can do that on my machine, but not the other team members' machines (at least not without going through many emails and paper work) so I'm going to say that XCarecrows 4 XMLis the solution. It is able to do XSL transformations in Eclipse 3.4 and doesn't require anything else to be installed. Since XSLT is all I need, the plugin will do.
好的,如果我对 Eclipse 进行全新安装,我可能可以让它工作。我可以在我的机器上执行此操作,但不能在其他团队成员的机器上执行此操作(至少在不经过大量电子邮件和文书工作的情况下不能)所以我要说XCarecrows 4 XML是解决方案。它能够在 Eclipse 3.4 中进行 XSL 转换,并且不需要安装任何其他东西。因为我只需要 XSLT,插件就可以了。
回答by VonC
You can try and install WTP through the main Ganymede update site:
您可以尝试通过主要的 Ganymede 更新站点安装 WTP:
http://download.eclipse.org/releases/ganymede/
http://download.eclipse.org/releases/ganymede/
Or you can download the latest Java EE bundleand use that instead of your current Eclipse
(do NOT unpack it on top of your current Eclipse, but unpack it elsewhere, to test that second installation: it will come with WTP inside)
Note: check then "How do I start Eclipse" to point to your existing workspace in order to see all your previous project in your new Eclipse installation.
或者,您可以下载最新的Java EE 包并使用它代替当前的 Eclipse
(不要在当前 Eclipse 的顶部解压它,而是将它解压到其他地方,以测试第二次安装:它会带有 WTP)
注意:检查然后“我如何启动 Eclipse”指向您现有的工作区,以便在新的 Eclipse 安装中查看您以前的所有项目。
As mentioned in your link, XSL Tools is now part of WTP (for Eclipse 3.5 Galileo), and that may explain why your Eclipse Ganymede (3.4)might not interpret correctly the P2 update site for WTP (P2 being the new Eclipse provisioning mechanism introduced late in the 3.4 release cycle)
如您的链接中所述,XSL 工具现在是 WTP 的一部分(用于Eclipse 3.5 Galileo),这可以解释为什么您的Eclipse Ganymede (3.4)可能无法正确解释 WTP 的 P2 更新站点(P2 是引入的新 Eclipse 配置机制)在 3.4 发布周期后期)
For Eclipse 3.5, you have an XSL Tools installation illustrated here:
对于 Eclipse 3.5,您有一个 XSL 工具安装,如下所示:
But Eclipse3.4 is more likely to be compatible with XSLT0.5and you will need a separate installation, because "XSL Tools" wasn't yet part of WTP.
I am not sure, however, where to find such an installation package within the Eclipse projects.
但是 Eclipse3.4 更有可能与XSLT0.5兼容,您需要单独安装,因为“XSL 工具”还不是 WTP 的一部分。
但是,我不确定在Eclipse 项目中在哪里可以找到这样的安装包。
回答by Arunabh Das
Use the following update site :
使用以下更新站点:
For Juno :
对于朱诺:
http://download.eclipse.org/webtools/repository/juno/
For Indigo :
对于靛蓝:
http://download.eclipse.org/webtools/repository/indigo/
回答by Mat Nadrofsky
I'm assuming you don't have any firewall exceptions for Eclipse right?
我假设您对 Eclipse 没有任何防火墙例外,对吗?
The site for the WTP update is indeed the one you've listed. Maybe post a screenshot? You've added it specifically to your remote update site list?
WTP 更新站点确实是您列出的站点。能不能发个截图?您已将其专门添加到远程更新站点列表中?
Either way try a manual update which should be more reliable and get you up and running for now.
无论哪种方式,请尝试手动更新,这应该更可靠并让您立即启动并运行。
All-In-One Update (Eclipse IDE included):
多合一更新(包括 Eclipse IDE):
- Go to the Eclipse Downloadsite.
- Grab the all-in-one package: Eclipse IDE for Java EE Developers
- Install, have a coffee and enjoy. (WTP is included)
- 转至Eclipse 下载站点。
- 获取多合一软件包:面向 Java EE 开发人员的 Eclipse IDE
- 安装,喝杯咖啡,享受。(包括支付宝)
Manual Update your existing installation of Eclipse:
手动更新您现有的 Eclipse 安装:
- Download the applicable WTP source packageto your desktop
- Shutdown Eclipse
- Extract the package to your Eclipse installation directory
- Startup Eclipse. (WTP is now available)
- 将适用的WTP 源包下载到您的桌面
- 关闭 Eclipse
- 将包解压到 Eclipse 安装目录
- 启动 Eclipse。(WTP现在可用)
回答by nitind
Follow the steps in the FAQ at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F.
按照http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F 上常见问题解答中的步骤进行操作。
回答by Enrique San Martín
you can use the marketplace:
您可以使用市场:
https://marketplace.eclipse.org/content/eclipse-java-ee-developer-tools-0
https://marketplace.eclipse.org/content/eclipse-java-ee-developer-tools-0
like the site says:
就像网站说的:
Drag to Install!Drag to your running Eclipse Workspace.
拖到安装!拖到正在运行的 Eclipse 工作区。
回答by Christopher Parker
Are you behind a proxy? If so, you need to make sure you configure your proxy settings in Eclipse.
你在代理后面吗?如果是这样,您需要确保在 Eclipse 中配置您的代理设置。
- Window > Preferences
- General > Network Connections
- 窗口 > 首选项
- 常规 > 网络连接