为什么sbt 0.13.9报告它是0.13.8?

时间:2015-08-17 13:38:29

标签: scala sbt

我从official sbt site下载并安装了sbt-0.13.9.msi。然而它报告它实际上是0.13.8:

>sbt --version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
port was removed in 8.0
sbt launcher version 0.13.8

sbt about报告同样的事情:

>sbt about
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Loading global plugins from C:\Users\$USER$\.sbt\0.13\plugins
[info] Set current project to documents (in build file:/C:/Users/$USER$/Documents/)

[info] This is sbt 0.13.8
[info] The current project is {file:/C:/Users/$USER$/Documents/}documents 0.1-SNAPSHOT
[info] The current project is built against Scala 2.10.4
[info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.4

我在这里做错了什么?或者这是一个错误吗?

1 个答案:

答案 0 :(得分:4)

sbt在项目配置中设置为0.13.8

您的build.properties文件可能包含第sbt.version=0.13.8

如果您希望按版本0.13.9执行项目,只需更新值。