Sunday, 2 July 2017

Setting proxy for SBT environment

I was required to setup 'Apache Spark Scala' environment with SBT in a network that was protected with firewall settings.

As those aware about SBT know, it is a powerful build tool that does most of the activities in background with very little user interventions. It downloads various files listed as dependency over internet and saves them in below local repository (in Windows 7):


As my network was behind proxy, I need to instruct SBT to download the files over proxy network.

To let SBT download via proxy, proxy server details need to be updated in below location:

C:\Program Files (x86)\sbt\conf\sbtconfig.txt

Commands to be update in above file are:


Please let me know if you face any challenges over here.

1 comment:

  1. tks for the information, it's a new information and very useful forme