我对Scala和Sbt都很陌生,每次运行时都会收到以下信息sbt.消息本身非常有意义,但我无法弄清楚如何解决它.
我想我想将我的配置移动到预期的位置,但不确定是否会导致混乱.我找不到任何关于如何更改sbt.global.base系统属性的文档.
The global sbt directory is now versioned and is located at /Users/justinhj/.sbt/0.13.
You are seeing this warning because there is global configuration in /Users/justinhj/.sbt but not in /Users/justinhj/.sbt/0.13.
The global sbt directory may be changed via the sbt.global.base system property.
Dar*_*dic 12
您应该将所有内容移动/Users/justinhj/.sbt到新文件夹/Users/justinhj/.sbt/0.13(请注意0.13子目录).这是新的sbt 0.13文件夹命名方案.
如果您不想更改全局配置文件夹,可以sbt使用修改后的全局基本参数调用,sbt.global.base如下所示:
sbt -Dsbt.global.base=/Users/justinhj/.sbt
Run Code Online (Sandbox Code Playgroud)
请查看此文档以获取更多解释:http://www.scala-sbt.org/release/docs/Command-Line-Reference.html