sdedic opened a new pull request, #4043:
URL: https://github.com/apache/netbeans/pull/4043

   Proxy settings is one of the very unpleasant parts of Gradle: normal tools 
tend to honour environment variables, but Gradle knows better: only respects 
its own settings, either in the project, or in the 
`~/.gradle/gradle.properties`.
   
   This PR processes `GradleReport`s produced after project (re)load. It 
detects some (not all!) typical situation - the number of matches may expand:
   - Connection timeout because of gradle attempting to connect directly from a 
corporate network that requires proxy
   - Connection exception to a configured proxy that no longer works (other 
proxies, or a no proxy at all)
   
   IDE settings are used to 'autodetect' the valid proxy settings, I used a 
well-known root DNS `8.8.8.8` that everyone should have route to.
   
   Gradle project offer fix that will alter the .properties file (project or 
user) that defines the proxies. If a proxy is not set up and the fix introduces 
one, it is always written into user properties file 
(~/.gradle/gradle.properties).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to