有关于以下Eclipse Kepler/STS版本的问题:
Version: 3.5.1.RELEASE
Build Id: 201405030657
Platform: Eclipse Kepler SR2 (4.3.2)我不能像在老版本中那样使用STS.ini中添加的以下几行代码来添加代理配置:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors= org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.ProxyPort=XXXX
-Dhttp.ProxyHost=XXXX配置不能手动设置,而应使用STS引导程序自动启动。
发布于 2014-06-11 19:18:35
我误解了STS.ini中代理设置的位置:必须这样放在-vmargs后面:
-Dosgi.requiredJavaVersion=1.6
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors= org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.ProxyPort=XXXX
-Dhttp.ProxyHost=XXXX
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Xmn128m
-Xms256m
-Xmx768m
-Xss4m
-XX:PermSize=128m
-XX:MaxPermSize=384m
-XX:CompileThreshold=1000
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods发布于 2014-06-11 00:06:04
我认为您需要在Eclipse/STS中通过preferences对话框配置代理设置。一旦完成,它将在每次重启后持久存在和使用。或者您必须通过sts.ini文件设置这些代理吗?
https://stackoverflow.com/questions/24142236
复制相似问题