首页 > 解决方案 > 如何在 Eclipse 中离线插入 Groovy 编辑器和编译器?

问题描述

我正在使用公司代理,但无法从市场插件?

标签: eclipsegroovyeclipse-plugin

解决方案


如果你去 github 页面,右边是发布。如果您选择所需的版本,则在该版本页面的最底部是压缩更新站点列表,您可以从中下载它,例如。https://github.com/groovy/groovy-eclipse/wiki/4.0.0-Release-Notes然后您可以解压缩并手动安装。

此外,如果您希望 Eclipse 通过您的代理工作,请在 eclipse.ini 文件中添加以下内容:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyHost=your_proxyservername.your.org
-Dhttp.proxyPort=your_proxy_port
-Dhttp.proxyUser=your_username
-Dhttp.proxyPassword=your_password
-Dhttps.proxyHost=your_proxyservername.your.org
-Dhttps.proxyPort=your_proxy_port
-Dhttps.proxyUser=your_username
-Dhttps.proxyPassword=your_password
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Dorg.eclipse.equinox.p2.transport.ecf.retry=5
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.connectTimeout=15000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=1000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=20
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=1000
-Dorg.eclipse.ecf.provider.filetransfer.browse.connectTimeout=3000
-Dorg.eclipse.ecf.provider.filetransfer.browse.readTimeout=1000

推荐阅读