에 대한 -FEATURE 실행 재-I 오류 there were 15 feature warning(s); re-run with -feature for details
수 :sbt 0.12.4 - x 기능 경고가있었습니다. 자세한
scalaVersion := "2.10.4"
build.sbt 에서
$ /usr/local/sbt/bin/sbt
[info] Loading project definition from /home/alex/Documents/projects/my_app123/project
[info] Set current project to sbt-android (in build file:/home/alex/Documents/projects/my_app123/)
> compile -feature
[error] Expected end of input.
[error] compile -feature
[error] ^
> sbt-version
[info] 0.12.4
> compile
[warn] Credentials file /home/alex/.ivy2/.credentials does not exist
[info] Compiling 20 Scala sources to /home/alex/Documents/projects/my_app123/target/scala-2.10/sbt-0.12/classes...
[error] there were 15 feature warning(s); re-run with -feature for details
[error] one error found
[error] (compile:compile) Compilation failed
[error] Total time: 27 s, completed 01 12, 15 1:20:12 PM
을 나는 '아무튼 때문 오류가 무엇인지 찾을 수 없습니다 심지어 내가 012b로 sbt를 실행할 때 말하십시오.
$ /usr/local/sbt/bin/sbt -feature
[info] Loading project definition from /home/alex/Documents/projects/my_app123/project
[info] Set current project to sbt-android (in build file:/home/alex/Documents/projects/my_app123/)
$
그것은 오류가있어 내가 그것을 어떻게 해결합니까 무엇
JDK 1.7입니까?
UPDATE :
> set scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
오류가 동일하다 :
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation")
또는 SBT 자체
build.sbt.
http://stackoverflow.com/questions/9578521/scala-sbt-how-to-re-run-with-deprecation –
SOM-snytt @, 그것은 도움이되지 않았다. –
'-feature'를 원합니다. –