如何在Eclipse 3.6(Helios)中增加下载超时设置 [英] How to increase download timeout setting in Eclipse 3.6 (Helios)
问题描述
我无法下载Eclipse的Google App Engine插件。具体来说,它到达此文件时超时:
I'm having trouble downloading the Google App Engine plugin for Eclipse. Specifically, it times out when it reaches this file:
com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102.jar
我可以手动下载,但下载暂停很长时间在完成之前(???)
我想如果我可以增加下载超时,我可以让安装工作,但我该如何做?
I'm able to download it manually, but downloading pauses for a very long time right before finishing (???) I figure if I can increase the download timeout, I can get the installation to work, but how do I do this?
推荐答案
我相信所有的 URLConnection
,其中列出:
I believe all URLConnection
-based provider are managed by system properties, which are listed in:
特别是,属性 sun.net.client.defaultReadTimeout
(默认设置为30秒)可以在 的eclipse.ini
。
您还可以尝试使用 sun.net.client.defaultConnectTimeout
。请参阅此 SO答案。
In particular, the property sun.net.client.defaultReadTimeout
(set by default to 30 seconds) can be changed and increased in an eclipse.ini
.
You can also try with sun.net.client.defaultConnectTimeout
. See this SO answer for instance.
这篇关于如何在Eclipse 3.6(Helios)中增加下载超时设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!