将一个工作项目转移到SBT后,我注意到,即使它位于logback.xml
,也无法找到src/main/resources/logback.xml
。或其他任何重要事项,例如classpath
。有没有人有这个问题?
这是我的build.sbt
文件:
name := "goGame"
version := "1.0"
scalaVersion := "2.9.2"
libraryDependencies += "org.slf4j" % "slf4j-simple" % "1.6.4"
libraryDependencies += "org.scalatest" % "scalatest_2.9.0" % "1.9.1"
libraryDependencies += "ch.qos.logback" % "logback-core" % "1.0.13"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.0.13"
libraryDependencies += "com.github.scct" % "scct_2.10" % "0.2.1"
libraryDependencies += "org.scala-lang" % "scala-swing" % "2.9.2"
libraryDependencies += "org.hamcrest" % "hamcrest-all" % "1.3"
libraryDependencies += "junit" % "junit" % "4.11"