These are chat archives for sbt/sbt

20th
May 2017
Dario Abdulrehman
@dabd
May 20 09:15
So I added the compiler plugin for kind-projector to a Scala build file but it it is not working. I get a not found: type ? when I try to use it. How can I troubleshoot it?
ritschwumm
@ritschwumm
May 20 13:32
did you reload sbt?
Dario Abdulrehman
@dabd
May 20 14:38
Yes I did
Kendall Shaw
@queshaw
May 20 16:47
where do I put addCompilerPlugin and add to resolvers, within files created by sbt/scala-seed.g8? I hope that is not too lazy to ask. I still haven't digested enough documentation to understand how what I read relates to sbt files that I see.
Kendall Shaw
@queshaw
May 20 17:04
It looks like it is read from ~/.sbt/0.13/plugins/plugins.sbt
Oscar Batori
@oscarbatori
May 20 19:51
@dwijnand no luck, I had found a similar solution online, which was to nuke .sbt/boot, but nothing.
In case the shell script update instructions on README weren't complete, I tried launching the jar on its own, and got a similar result:
[obatori@obatori:sbt-test-direct] >> java -jar /Users/obatori/.ivy2/local/org.scala-sbt/sbt-launch/1.0.0-SNAPSHOT/jars/sbt-launch.jar
[info] Loading project definition from /Users/obatori/Documents/sbt-test-direct/project
[info] Set current project to sbt-test-direct (in build file:/Users/obatori/Documents/sbt-test-direct/)
[info] sbt server started at 127.0.0.1:4210
> console
[error] (run-main-0) java.lang.NoClassDefFoundError: xsbti/ConsoleInterface
[error] (compile:console) Nonzero exit code: 1
[error] Total time: 0 s, completed May 20, 2017 3:52:39 PM
Dale Wijnand
@dwijnand
May 20 20:47
@oscarbatori oh
I know why
I fixed it in sbt/zinc, but we've not brought the change into sbt/sbt.