awhawks / workspacemechanic

Automatically exported from code.google.com/p/workspacemechanic
0 stars 0 forks source link

Consider proxy settings for URL-based task scanner #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When implementing code for issue 21, please consider the proxy setting of 
Eclipse in General > Network Connections. You find information about how to 
implement this in 
http://torkildr.blogspot.com/2008/10/connecting-through-proxy.html. It 
shouldn't be too hard to achieve, because you are already relying on 
HttpUrlConnection, which allows to give explicit proxy settings.

Original issue reported on code.google.com by konra...@gmx.de on 8 Mar 2011 at 11:10

GoogleCodeExporter commented 8 years ago
Seems reasonable. This is configured by General > Network Settings?

Nit on the code sample: while loop with 1-second sleep cycles? Really?

Original comment by konigsb...@gmail.com on 8 Mar 2011 at 11:16

GoogleCodeExporter commented 8 years ago
Within Eclipse Preferences you find the settings in General -> Network 
Connections. A probably better example is in 
http://kenai.com/projects/ete/sources/svn/content/ete/trunk/ch.netcetera.eclipse
.common/src/ch/netcetera/eclipse/common/net/AbstractHttpClient.java?rev=687. It 
uses the HttpClient of Apache internally, but I think you can also easily adapt 
the code to just use HttpUrlConnection.

Original comment by konra...@gmx.de on 9 Mar 2011 at 12:09

GoogleCodeExporter commented 8 years ago
It's hard to tell if this is actually an issue. Can you please let me know if 
it is?

Original comment by konigsb...@gmail.com on 24 Jun 2012 at 3:42

GoogleCodeExporter commented 8 years ago

Original comment by konigsb...@gmail.com on 24 Jun 2012 at 3:42

GoogleCodeExporter commented 8 years ago
For me right now it isn't an issue. But lots of people have to use a proxy to 
access HTTP(S) resources. 
My usecase was, to have the rules checked into SVN. These rules can be accessed 
via HTTPS but only via a proxy if I am within the corporate network.

Original comment by konra...@gmx.de on 28 Jun 2012 at 9:22