These are chat archives for sbt/sbt

3rd
Aug 2016
Johan Andrén
@johanandren
Aug 03 2016 07:03
@mslinn I haven’t used it for a while but I remember using it pretty much like it seems you are trying to a couple of years ago, and then it worked
@mslinn proprietary sources though, so I’m afraid I can’t give you a repo link or such
Heikki Vesalainen
@hvesalai
Aug 03 2016 08:05
is the sbt/launcher project alive?
should I report bugs related to the launcher in there or sbt/sbt ?
Dale Wijnand
@dwijnand
Aug 03 2016 08:24
Yes and in there is better.
Heikki Vesalainen
@hvesalai
Aug 03 2016 08:38
ok, just looking that the project has been quiet for some time
Dale Wijnand
@dwijnand
Aug 03 2016 08:41
That's only because it's pretty stable and we'd like not to change it.
Heikki Vesalainen
@hvesalai
Aug 03 2016 09:33
I'm having problems with deploying a project that depends on two artifacts with the same artifact id, but different classifier
launcher downloads both jars to the ivy cache, but no to the boot dir
I've made an issue about this: sbt/launcher#19 Any workaround ideas are welcome
Mario Pastorelli
@melrief
Aug 03 2016 10:20
hi everyone
I'm using a testing utility that has issue with sbt NullLoader and I
m wondering what I can do to fix it
it checks the classloader and throws IllegalArgumentException Unknown classloader type : sbt.classpath.NullLoader when I run tests from sbt
Mario Pastorelli
@melrief
Aug 03 2016 10:25
I would like to understand why sbt uses the NullLoader and how can I fix it
there are a lot of classes that check the classloader and this looks like an issue to me
Heikki Vesalainen
@hvesalai
Aug 03 2016 10:53
does it change if you fork tests?
Mario Pastorelli
@melrief
Aug 03 2016 10:53
fork in tests := true?
Heikki Vesalainen
@hvesalai
Aug 03 2016 10:54
Looks good
anyway, I would contact the developer of that accumulo thing and ask WTF
Mario Pastorelli
@melrief
Aug 03 2016 10:55
I'm doing that too
no, that doesn't fix it...
one sec, I found a message "javaOptions will be ignored, fork is set to false" so I guess I'm doing something wrong :)
Mario Pastorelli
@melrief
Aug 03 2016 11:02
err I'm not sure that was a good idea
This message was deleted
Exception in thread "Thread-5" java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.scalatest.prop.Checkers$$anonfun$doCheck$3.scalaCheckArgs$2 of type scala.collection.immutable.List in instance of org.scalatest.prop.Checkers$$anonfun$doCheck$3
Heikki Vesalainen
@hvesalai
Aug 03 2016 11:04
well that looks like a normal classcast thing
so now you have your process running even though you have a bug in it
Mario Pastorelli
@melrief
Aug 03 2016 13:28
that looks normal?
Mario Pastorelli
@melrief
Aug 03 2016 13:34
oh I see scalatest/scalatest#427
thanks
Joshua Goldberg
@JoshSGman
Aug 03 2016 15:19
Hey all, I'm writing a one-off scala shell script, and I'd like to import my a project's classes into the script. What's the best way to do so? Where does SBT's default classpath live?
Perry
@pfn
Aug 03 2016 15:20
just run from sbt
don't shell script it
Joshua Goldberg
@JoshSGman
Aug 03 2016 15:20
@Perry can you give me an example?
Perry
@pfn
Aug 03 2016 15:24
runMain full.class.name
Joshua Goldberg
@JoshSGman
Aug 03 2016 15:30
@pfn Thanks!
Alexey Alekhin
@laughedelic
Aug 03 2016 17:34
what is the right way to log from settings? in tasks I can use streams.value.log, but in settings it's unavailable
Mike Slinn
@mslinn
Aug 03 2016 17:46
@pfn I understood something different from what you probably meant by "just run from sbt", read it a few times, then eventually understood what I think you meant. "Launch your program from sbt", not "Run from falsehood" :)
Perry
@pfn
Aug 03 2016 19:01
@laughedelic sLog.value
Alexey Alekhin
@laughedelic
Aug 03 2016 21:06
@pfn thanks! That's exactly what I wanted. But how did you find it? Just grepping sbt.Keys source? Or is it documented somewhere?
Mike Slinn
@mslinn
Aug 03 2016 21:38
Scala's REPL, SBT and Activator all lock up when I try to run them on the new Windows 10 Subsystem of Linux (released today). There is probably a jline setting that would make this work, I bet. Any suggestions on what to try?
Perry
@pfn
Aug 03 2016 22:32
@laughedelic I found it by accident digging around sbt internals
implementing some features of my own for my plugin
Dale Wijnand
@dwijnand
Aug 03 2016 23:21
@mslinn As Eugene said, this is probably JLine. Perhaps reach out to them, see what they see/say.
eugene yokota
@eed3si9n
Aug 03 2016 23:22
writing hello world using JLine would be helpful
Dale Wijnand
@dwijnand
Aug 03 2016 23:24
one day I'll learn JLine.. particularly so I can fix my oldest sbt bug that I still sometimes hit.. sbt/sbt#1413
drocsid
@drocsid
Aug 03 2016 23:55
Hello, I was told that I shouldn't have to add bintray as a resolver, but I'm running into issues getting dependencies, and on my system it doesn't appear that bintray is a default resovlver. Then I tried to add it to plugins.sbt as described here: twitter/scrooge#242 . How am I supposed to add bintray as a default resolver, and or fix plugins.sbt to fetch dependencies from bintray?