sbt from behind proxy

391 views
Skip to first unread message

Siddhartha Gadgil

unread,
Mar 11, 2013, 1:23:50 AM3/11/13
to scala...@googlegroups.com
I have installed the typesafe stack on Ubuntu. I cannot start sbt as it fails to download dependencies from behind an authenticated firewall on Ubuntu. I have set the variables https_proxy etc to the format http:username:pass...@proxy.port, so that, for instance git works (as well as set proxy in ubunut). Is there some other configuration I need to make for this? Any help is appreciated.
                                   Thanks,
                                   Siddhartha

Sonnenschein

unread,
Mar 11, 2013, 7:47:58 AM3/11/13
to scala...@googlegroups.com
-Dhttp.proxyHost=... -Dhttp.proxyPort=... -Dhttp.proxyUser=... -Dhttp.proxyPassword=...

has been working for me.

Peter

Siddhartha Gadgil

unread,
Mar 11, 2013, 12:05:25 PM3/11/13
to scala...@googlegroups.com
Thanks. Do you mean run sbt with these parameters? As per Gary Pampara's suggestion I ran java with these parameters to run scala-launch and it worked.
Siddhartha
Reply all
Reply to author
Forward
0 new messages