These are chat archives for sbt/sbt

20th
Nov 2015
Michael Pilquist
@mpilquist
Nov 20 2015 00:13
Has anyone tried sbt-site with nanoc 4.0.0? I’m running in to issues with 4.0.0, which is the default nanoc version when you run gem install nanoc
cjuexuan
@cjuexuan
Nov 20 2015 00:34
I use slick and when I run application in sbt console ,I find eachtime I run ,Database processlist may add 20 threads, but when I run apllication without use sbt ,thread may not add
first I run ,database processlist is 20 connections,and I run agin ,it may be 40,and so on.
cjuexuan
@cjuexuan
Nov 20 2015 00:43
This message was deleted
blob
This message was deleted
blob
cjuexuan
@cjuexuan
Nov 20 2015 00:48
blob
Sam Halliday
@fommil
Nov 20 2015 10:49
@dwijnand any ideas what you're going to work on at the hack day? I can definitely recommend a few that are shapeless or sbt oriented that impact us in ENSIME
Dale Wijnand
@dwijnand
Nov 20 2015 10:50
Not really, was thinking I'd float around, but something might catch my fancy at scala exchange, so we'll see really
wedens
@wedens
Nov 20 2015 10:54
I have an AutoPlugin with some projectSettings but they are not added to a project automatically when I do enablePlugin(MyPlugin)
Sam Halliday
@fommil
Nov 20 2015 10:54
(and one in particular that is a real killer at my work sbt/sbt#2270 )
wedens
@wedens
Nov 20 2015 10:54
(this plugin is defined in project/MyPlugin.scala)
valtih1978
@valtih1978
Nov 20 2015 15:09
Sorry, I have terminated endless loop killing the sbt with Control+C and now I cannot make it finding any main class when running the run command.
Perry
@pfn
Nov 20 2015 15:09
wedens, I never use project defined plugins, but published plugins always work for me with project settings
@wedens
valtih1978
@valtih1978
Nov 20 2015 15:11
File monitor displays that sbt does not resort to any scala sources at all.
Perry
@pfn
Nov 20 2015 15:19
clean, run
valtih1978
@valtih1978
Nov 20 2015 15:20
No, clean does not help
I actually started new sbt session in a clean folder and the same story -- it cannot find any main class (I guess that it cannot find any class at all).
Perry
@pfn
Nov 20 2015 15:41
then you have no main
valtih1978
@valtih1978
Nov 20 2015 15:55
Yes, I don't. But, scala(c) can see it, http://pastebin.com/37W7gUc4
Simon Schäfer
@sschaef
Nov 20 2015 17:30
How can one specify the local ivy and maven repos through the command line? I found out that there exists the config value -Dsbt.repository.config=<repo> but sbt doesn't eat the config value anymore with the newest version
Sam Halliday
@fommil
Nov 20 2015 18:02
@sschaef there is a user wide default location for the file, it's a same there is no project-wide one.
I use paulp's infinitely better launch script and I think it still works
(It is so utterly painful to customise the repos... it actually involves a repacking of SBT itself if the ivy artefacts are different than it was on the SBT developer's machine, such as it is for corporate installs)
Perry
@pfn
Nov 20 2015 18:07
@valtih1978, clean, compile
it's likely you added a setting to ignore sources in root
Erik Bakker
@eamelink
Nov 20 2015 18:11
If I checkout the latest from the 1.0.x branch and I compile it, then Scalariform formats about 40 files, is that normal?
As in: it reformats them differently, so after a checkout and an sbt compile, git marks about 40 files as changed.
valtih1978
@valtih1978
Nov 20 2015 18:18
@pfn Actually, I used includeFilter = ".scala" || ".sc" instead of ".scala" || ".sc".
You see, the comment system eats up the asterkcks willcards. It seems that same happened on the question that you have downovoted yestuday http://stackoverflow.com/questions/33783210/how-do-you-compile-and-run-in-sbt/33794389#comment55431893_33794389
Simon Schäfer
@sschaef
Nov 20 2015 18:21
@fommil Ok, thanks. It looks like I have to check which command is created by sbt-extras.
Dale Wijnand
@dwijnand
Nov 20 2015 18:42
@sschaef use -v
@eamelink no
Simon Schäfer
@sschaef
Nov 20 2015 18:46
-v how?
as a command line parameter it produces the same error message
that it is deprecated
wedens
@wedens
Nov 20 2015 18:54
@pfn do you know what's the difference between plugins defined in project and published separately?
Perry
@pfn
Nov 20 2015 18:55
don't know, but I never used plugins written in project
Simon Schäfer
@sschaef
Nov 20 2015 19:22
@dwijnand ok, I understand your comment now, you meant a parameter for sbt-extras
Dale Wijnand
@dwijnand
Nov 20 2015 19:35
Yep
Erik Bakker
@eamelink
Nov 20 2015 19:38
@dwijnand thanks. Looks like the sbt-ensime plugin I have globally installed pulls in a different scalariform with different settings
Fixed now :)
Dale Wijnand
@dwijnand
Nov 20 2015 19:39
Good to know, thanks. (Bloody ensime, jkjk)
Sam Halliday
@fommil
Nov 20 2015 23:23
@eamelink scalariform is a mess right now. Hopefully scala-ide will take over and release a version that fixes the regressions
Basically the guy who wrote scalariform just walked away one day and hasn't been responsive in handing it over to the next generation.
Then somebody came along who pumped out new versions that introduced huge regressions, publicly admitting that he didn't care.
(Although than changed his mind somewhat)
There are like 20 outstanding PRs against various versions of scalariform, none of which are being merged, because it's not community owned. So hopefully we'll fix that.
It's absolutely critical that these fundamental tools are community owned.
Sam Halliday
@fommil
Nov 20 2015 23:28
One day, you'll use ENSIME @dwijnand muahahaha!