如何配置代理设置,以便eclipse indigo可以安装新的插件 [英] How do I configure the proxy settings so eclipse indigo can install new plugins
问题描述
我发现这个,但在我的情况下不起作用。
I've found this, but didn't work in my case.
我在linux Fedora 32位中使用eclipse indigo SR1。它由VMWare Player虚拟化。当我配置代理设置但是eclipse时,这个linux中的所有应用程序都在工作。我收到这个看似众所周知的错误。
I'm using eclipse indigo SR1 in a linux Fedora 32 bits. It's virtualized by VMWare Player. All applications in this linux is working when I configure the proxy settings but eclipse. I'm getting this errors that appears to be well known.
我找到了这个解决方案,我在我的环境中尝试过,但没有奏效。当我在eclipse.ini中配置设置并启动eclipse时,我在日志中收到错误,如下所示:
I have found This solution that I've tried in my enviroment, but didn't work. When I configure settings in eclipse.ini and launch eclipse, I get errors in the log like this:
!MESSAGE System property http.proxyHost has been set to 8080 by an external resource. This value will be overwritten using the values from preferences.
如何强制eclipse更喜欢eclipse.ini中的配置而不是偏好面板?
How can I force eclipse to prefer configurations in eclipse.ini instead of preferences panel?
有人有任何见解吗?
祝你好运。
推荐答案
You need to specify the following options below the -vmargs option in the .ini file, each on a separate line:
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1
顺便说一句,你是在HTTP代理或其他代理之后吗?为什么没有首选项菜单适合你?
Btw, are you behind an HTTP proxy or some other proxy? and why doesnt preferences menu work for you?
如果以上参数不起作用,请尝试将此行添加到.ini文件中:
Try adding this line to .ini file if above arguments dont work:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
这篇关于如何配置代理设置,以便eclipse indigo可以安装新的插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!