3

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?

Tony the Pony
  • 40,327
  • 71
  • 187
  • 281

2 Answers2

2

I believe all URLConnection-based provider are managed by system properties, which are listed in:

Networking Properties

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
2

Eclipse p2(the provisioning manager) uses ECF to download the content from remote site. There are some system property to set the timeout value of ECF.

ECF timeout setting

Those options should be since Eclipse 3.6, the default transfer should be httpclient implementation.

If you are adding these options to a commandline, they need to follow the argument '-vmargs'

SteveR
  • 583
  • 2
  • 12
Kane
  • 8,035
  • 7
  • 46
  • 75