Set current project to default-6c6f02 (in build file:/home/user_name/Videos/ [duplicate]

可紊 提交于 2021-02-19 07:21:37

问题


what does it mean when running sbt command in command line in scala . Set current project to default-6c6f02 (in build file:/home/user_name/Videos/

what should i set after this statement?


回答1:


This happens if you call sbt command in the folder where you don't have built. sbtor project/Build.scala, as i understand in your case it's /home/user_name/Videos/. And because you dont' have any build configuration in the current folder, sbt creates a default one. You can fix this easily, just add small build.sbt file with:

name := "project name"

version := "0.1"

Please notice the blank line between settings, in build.sbt this is necessary




回答2:


You don't have to set anything, sbt is telling you it has set the current project to this.



来源:https://stackoverflow.com/questions/22344010/set-current-project-to-default-6c6f02-in-build-file-home-user-name-videos

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!