Reputation: 93
I am new in SBT build tool. I am currently using windows operating system and I can not find the global.sbt file. Where can I find this configuration file?
Upvotes: 2
Views: 701
Reputation: 95654
Welcome to sbt.
There's an entry on Global Settings in the reference manual.
Settings that should be applied to all projects can go in ~/.sbt/0.13/global.sbt
It says ~
, which does not apply to Windows. sbt uses the value of sys.props("user.home")
, which is same as System.getProperty("user.home")
in Java.
There's apparently a whole controversy surrounding how user.home
is wrong on Windows, but should correspond to C:\Documents and Settings\Foo
on XP, and C:\Users\Foo
on Windows 7.
Upvotes: 2