为什么 sbt 0.13.9 报告它是 0.13.8? [英] Why is sbt 0.13.9 reporting that it's 0.13.8?
本文介绍了为什么 sbt 0.13.9 报告它是 0.13.8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从 下载并安装了 sbt-0.13.9.msi
sbt 官方网站.但是它报告说它实际上是 0.13.8:
I downloaded and installed sbt-0.13.9.msi
from the official sbt site. However it reports that it's actually 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
我在这里做错了什么?或者这是一个错误?
What am I doing wrong here? Or is this a bug?
推荐答案
sbt
在您的项目配置中设置为 0.13.8
.
sbt
is set to 0.13.8
in your project configuration.
您的 build.properties
文件可能包含行 sbt.version=0.13.8
Your build.properties
file probably contains the line sbt.version=0.13.8
如果您希望您的项目由 0.13.9
版本执行,只需更新该值.
If you want your project to be executed by version 0.13.9
simply update the value.
这篇关于为什么 sbt 0.13.9 报告它是 0.13.8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文