Eclipse 3.5 无法安装插件
我真的不知道 Eclipse 3.5 发生了什么(3.5.0 或 3.5.1,同样的问题),但我已经 2 天以来一直在努力使用 Eclipse 来寻找一种方法来安装插件通过安装新软件屏幕"工作!!!我访问了很多论坛和博客,尝试了很多解决方案但徒劳无功:每次当前问题消失并出现新问题.
I really don't know what's going on with Eclipse 3.5 (3.5.0 or 3.5.1, same issues), but it's been now 2 days that I'm struggling with Eclipse to find a way to make the plugins installation work via the "Install New Software screen"!!! I have visited a lot of forums and blogs, tried many solutions but in vain: each time the current problem disappears and a new one appears.
我正试图让它在我的办公室工作,所以在代理之后.到目前为止,我得到的最好建议是关于 NTLM 代理的已知问题的建议:http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies.我提出了提示,但现在我有一条新的错误消息:Eclipse 根本找不到存储库...例如,这是我现在使用 Galileo 更新站点本身得到的:
I'm trying to make it work at my office, so behind proxy. The best advice I got so far is the one regarding the known issue with NTLM proxies: http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies. I put in place the hint, but now I have a new error message: Eclipse cannot find the repositories at all... For instance here is what I get now with the Galileo update site itself:
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: No repository found at http://download.eclipse.org/releases/galileo.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:380)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:606)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.loadMetadataRepository(ProvisioningUtil.java:88)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMetadataRepositoryManager.doLoadRepository(QueryableMetadataRepositoryManager.java:55)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadRepository(QueryableRepositoryManager.java:195)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepositoryManager.loadAll(QueryableRepositoryManager.java:108)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.run(PreloadingRepositoryHandler.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
与 http://download.eclipse.org/eclipse/updates/3.5,或 http://download.eclipse.org/tools/mylyn/update/e3.4/ 和任何网站:没有人工作.
Samething with http://download.eclipse.org/eclipse/updates/3.5, or http://download.eclipse.org/tools/mylyn/update/e3.4/ and whatever the site: no one works.
请有人帮忙!
PS:下面有更多细节:
PS: Some more details below:
我对第三方软件也有同样的问题...例如:http://www.epic-ide.org/updates/testing/site.xml....同样的错误信息.
I have the same issue with third party software too... for instance: http://www.epic-ide.org/updates/testing/site.xml.... same error message.
如果我转到首选项">安装/更新">可用软件站点",单击任何站点,然后在测试连接"上,我会收到带有此错误消息的 ProvisionException(当我单击详细信息时):
If I go to Preferences > Install / Updates > Available Software Sites, click on whatever the site and on Test Connection I get a ProvisionException with this error message (when I click on details):
无法在 http://download.eclipse.org 读取存储库/technology/epp/packages/galileo/site.xml.无法读取位于 http://download.eclipse.org/technology/的存储库epp/packages/galileo/site.xml.服务器重定向次数过多 (20)
Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Unable to read repository at http://download.eclipse.org/technology/epp/packages/galileo/site.xml. Server redirected too many times (20)
解决办法是:将以下行添加到您的 eclipse.ini
文件(在 -vmargs
之前):(在 3.5 ; 3.5.1; 3.6.2 上验证)
the solution is:
add following lines to your eclipse.ini
file (before -vmargs
):
(verified on 3.5 ; 3.5.1; 3.6.2)
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomainmyusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1
推荐答案
我们在这里遇到了很多问题,即代理支持.我们最终使用了 Pulse:http://www.poweredbypulse.com/
We had tons of issues here, namely with the proxy support. We ended-up using Pulse: http://www.poweredbypulse.com/
Pulse 内置了对一些插件的支持,但是,您可以很容易地添加第三方插件甚至本地 jar 文件.
Pulse has built-in support for a few plugin, however, you can add third-party plugin and even local jar file quite easily.
奇怪的是,它并不总是使用内置的 Eclipse 功能,所以有时当 Eclipse 变得困难时(比如我们的代理业务案例),您可以使用 Pulse 来解决它.
Strangely it does not always use the built-in Eclipse feature, so sometimes when Eclipse become difficult ( like in our case for the proxy business ), you can work-around it with Pulse.
相关文章