News for hackers. Stuff that matters.
Re:An Opinionated Guide to Modern Java Development, Part 1 by lomnakkus on Thursday May 01, 2014 @04:16PM (#7682467)
Right now, SBT + IDEA is a bit of a pain because they share the same target folder and IDEA sometimes overwrites/deletes .class files that your application (started via sbt run) hasn't loaded yet. Usually that leads to a few ClassDefNotFound errors and such. Hopefully that'll go away once we have a single SBT instance.

My two wishes for SBT would be: 1) A monadic style for .scala build files. It would make dealing with the immutable bits of project definitions so much more pleasant and we could avoid the weird semi-Scala syntax of .sbt files. And 2) A bottom-up approach similar to Pants. My team frequently end up getting a lot more project interdependencies than we bargain for simply because it's too easy to induce transitive dependencies.

Re:An Opinionated Guide to Modern Java Development, Part 1 by eeperson on Thursday May 01, 2014 @06:11PM (#7682986)
Would you mind elaborating on what you mean by a monadic style for .scala build files?

PS - You may already know this, but you can change IntelliJ's compile output directory [0].

[0] - http://www.jetbrains.com/idea/webhelp/configuring-module-com...

Re:An Opinionated Guide to Modern Java Development, Part 1 by lomnakkus on Thursday May 01, 2014 @06:31PM (#7683063)
Thank you, I haven't actually tried that. I really live the "I just want my IDE to work" philosophy (out of laziness), so I try to avoid configuration if I can. :)

About monadic style: I realize that it's a hard sell, but it's basically about leveraging for comprehensions (aka. do-notation) to specify your build. Shake is an example of this, although probably not particularly suited to building Scala code.

Re:An Opinionated Guide to Modern Java Development, Part 1 by eeperson on Thursday May 01, 2014 @06:45PM (#7683116)
Shake?
Re:An Opinionated Guide to Modern Java Development, Part 1 by lomnakkus on Saturday May 03, 2014 @12:08PM (#7691256)
Sorry, should've linked[1]. There's also a further link from there to a paper for your reading pleasure :).

[1] http://hackage.haskell.org/package/shake

Re:An Opinionated Guide to Modern Java Development, Part 1 by eeperson on Sunday May 04, 2014 @12:47PM (#7694855)
Thanks!