Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.10.0 Intellij Gradle Task [lang].idea:downloadIdea fail (proxy authentication required)
Xtext 2.10.0 Intellij Gradle Task [lang].idea:downloadIdea fail (proxy authentication required) [message #1752185] Thu, 19 January 2017 14:10 Go to next message
Tobias L. is currently offline Tobias L.Friend
Messages: 24
Registered: July 2010
Junior Member
Hello *,

i have created a new xtext Project with intellij idea and would like to build it with gradle built Task (from parent).

At the first run the build failed because it was not able to download some resources/libraries. In my company is a Proxy Server configuration with authentication necessary.

After googling I added a file ~/.gradle/gradle.properties like:
systemProp.http.proxyHost=proxy.company.org
systemProp.http.proxyPort=4711
systemProp.http.proxyUser=...
systemProp.http.proxyPassword=...
systemProp.http.nonProxyHosts=localhost|*.company.org
systemProp.https.proxyHost=proxy.company.org
systemProp.https.proxyPort=4711
systemProp.https.proxyUser=...
systemProp.https.proxyPassword=...
systemProp.https.nonProxyHosts=localhost|*.company.org


... and the build started and worked.... when suddenly:
...
:DSL.ide:check ...
:DSL.ide:build ...
:DSL.idea:downloadIdea FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':DSL.idea:downloadIdea'.
> java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED


So... This is annoying. What can I do?

Thanks for your help!

Tobias



Re: Xtext 2.10.0 Intellij Gradle Task [lang].idea:downloadIdea fail (proxy authentication required) [message #1752186 is a reply to message #1752185] Thu, 19 January 2017 14:12 Go to previous message
Tobias L. is currently offline Tobias L.Friend
Messages: 24
Registered: July 2010
Junior Member
Complement: --stacktrace/debug/info provides no more Infos (except a stacktrace)
Previous Topic:Formatter2 Junit test passes in Eclipse but fails in maven (Xtext 2.10.0)
Next Topic:Problem with Cross-Referencing and ProxyURIs
Goto Forum:
  


Current Time: Sun Jul 23 21:04:11 GMT 2017

Powered by FUDForum. Page generated in 0.02885 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software