These are chat archives for sbt/sbt

29th
Aug 2016
Simon Hafner
@reactormonk
Aug 29 2016 10:02
I'm using ProjectRef - any way to switch to that project from within sbt?
Simon Hafner
@reactormonk
Aug 29 2016 10:11
Also, can I ask sbt about a specific class? Doesn't seem to be there at runtime, but I can see the file in the classPath directory.
Otto Chrons
@ochrons
Aug 29 2016 10:27

I'm encountering some issues when importing a project with Typelevel scalac into IDEA,

... more resolving
[info] Resolving org.scala-lang#scala-library;2.11.6 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.4 ...
[info] Resolving org.typelevel#scala-compiler;2.11.8 ...
[info] Resolving jline#jline;2.12.1 ...
[info] Resolving org.typelevel#scala-reflect;2.11.8 ...
[error] impossible to get artifacts when data has not been loaded. IvyNode = org.typelevel#scala-library;2.11.8
[info] Resolving org.typelevel#scala-library;2.11.8 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.4 ...
[info] Resolving org.typelevel#scala-compiler;2.11.8 ...
... more resolving

everything works fine in SBT, though
using SBT version 0.13.13-M1

Simon Hafner
@reactormonk
Aug 29 2016 10:49
I think I found an sbt bug - I'm using a ProjectRef, but it doesn't seem to expand the classpath path. It's got the relative path, but not the absolute one.
Mike Mazur
@mikem
Aug 29 2016 12:14
@reactormonk you can swtich to a project in an sbt session with project myproject. projects gives you a listing of the projects
Simon Hafner
@reactormonk
Aug 29 2016 12:34
Doesn't work if the other projects are in a different directory, via ProjectRef.
Adelbert Chang
@adelbertc
Aug 29 2016 20:29
what's the best practice in terms of defining what version of SBT your plugin runs on? it seems if my plguin is built agianst 0.13.11 it breaks on say, 0.13.5
Dale Wijnand
@dwijnand
Aug 29 2016 21:20
I think it's the same as every other library. If you're using features in 0.13.11 it won't work with 0.13.5. I guess the difference is the library case will upgrade you, with sbt instead it will break your plugin... :-/