These are chat archives for sbt/sbt

23rd
Sep 2017
Arya Irani
@refried
Sep 23 00:04
[info] In file:/Users/arya/gtri/hdap/nlp-pipeline/
[info]      * nlp-pipeline
[info] In git://github.com/typelevel/frameless.git
[info]        cats
[info]        core
[info]        dataset
is it possible to select one of the last three projects? I haven't been able to figure out the syntax
OlegYch
@OlegYch
Sep 23 00:06
{path}name
Arya Irani
@refried
Sep 23 00:06
so path is the whole git://...?
OlegYch
@OlegYch
Sep 23 00:06
i guess
Arya Irani
@refried
Sep 23 00:07
thanks
Dale Wijnand
@dwijnand
Sep 23 05:42
Nice one Oleg! I didn't know anyone knew about that :)
@vovapolu that's insane, how did we not catch that until now? Please open a ticket, we'll try and fix it.
@tpolecat Sadly no way to search Gitter. What I want to do going forward is try to "record" Q&A on Stackoverflow so they can be discoverable there.
Mark Hammons
@markehammons
Sep 23 08:45
hi all, where in sbt's code is it doing the checks for incremental compilation?
i've been testing sbt's command line mode with the openJ9 jvm, and it's become fairly obvious there's a bug in openJ9 that causes sbt's checks that a file has already been compiled and the source hasn't changed to fail
Dale Wijnand
@dwijnand
Sep 23 08:50
I couldn't tell you precisely, but https://github.com/sbt/zinc is the incremental compiler part of sbt 1.
Mark Hammons
@markehammons
Sep 23 09:18
hmm odd
sbt 1 doesn't have the problem
but sbt 0.13.17 does
Guillaume Martres
@smarter
Sep 23 09:20
@markehammons you may be running into sbt/sbt#3142
I've suggested before sbt 0.13 should have a giant warning under Java 9
Mark Hammons
@markehammons
Sep 23 09:21
ah
Guillaume Martres
@smarter
Sep 23 09:22
I still don't know what exactly changed in zinc to fix it, and apparently no one does ¯\_(ツ)_/¯
Mark Hammons
@markehammons
Sep 23 09:22
yeah that's almost certainly it
cause there's another bug with openJ9 cause sbt is using sun.misc.Signal
@smarter i made a tiny sbt project with a single trait A that's empty, and when using sbt 0.13.16, it thinks the definitions for the trait have changed between compilations
The /home/mhammons/personalWork/sbt-test/src/main/scala/A.scala source file has the following regular definitions changed:notify, wait, $asInstanceOf, equals, asInstanceOf, synchronized, A, $isInstanceOf, notifyAll, isInstanceOf, ==, clone, toString, !=, getClass, ne, eq, ##, finalize, hashCode.
Guillaume Martres
@smarter
Sep 23 09:26
Just say no to sbt 0.13 with Java 9
Mark Hammons
@markehammons
Sep 23 09:26
problem is i'm trying to use play
Guillaume Martres
@smarter
Sep 23 09:27
You'll have an easier time helping them upgrade than fixing this
Mark Hammons
@markehammons
Sep 23 09:27
as far as i'm aware it's still tied to 0.13
Guillaume Martres
@smarter
Sep 23 09:28
playframework/playframework#7261
Mark Hammons
@markehammons
Sep 23 09:31
hmm, it looks like they may have crossbuilt some versions for sbt 1.0
so i'll see if the play plugin resolves if i switch
nope
but looks like it'll be available soon and I can finally switch away from 0.13 forever
Nicolas Rinaudo
@nrinaudo
Sep 23 13:08
The sbt new documentations says that any git repository that ends in .g8 can be used, but doesn't really say how to use anything but repositories hosted on github. I've tried using raw repository URI without success - is it possible? Is there documentation that I failed to find?
Nicolas Rinaudo
@nrinaudo
Sep 23 13:22
Also, there seems to be some weird terminal issues. When attempting to create a new project from scala/scala-seed.g8, I'm asked for my id_rsa passphrase - but every keypress is treated as ENTER, and the only way I found to carry on is to paste my passphrase in
Finally, when answering questions in the template (such as name [Scala Seed Project]), I can't seem to use backspace anymore
does anybody else have these issues, or is it my particular setup? I've tried this on various combinations of bash, zsh, iTerm2 and Terminal.app
Nicolas Rinaudo
@nrinaudo
Sep 23 13:29
(note that I suffer none of these issues when running g8 directly)
Han van Venrooij
@irundaia
Sep 23 21:28
Hi guys, I'm using sbt-release for an sbt plugin. Since 1.0.0 is out, I would like to release it for both 0.13.* and 1.0.*. However ^release does not upload any artifacts for 0.13... Any hints?