Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 2015 11:10
    japgolly commented #2066
  • Jun 22 2015 08:25
    keepscoding commented #2044
  • Jun 21 2015 03:24
    xerial commented #157
  • Jun 21 2015 00:10
    eed3si9n unlabeled #2057
  • Jun 21 2015 00:10

    eed3si9n on 0.13

    Adds bundledLauncherProj to all… Remove launcher tests Add unit tests to Travis and 3 more (compare)

  • Jun 21 2015 00:10
    eed3si9n closed #2057
  • Jun 21 2015 00:10

    eed3si9n on fixbuild

    (compare)

  • Jun 20 2015 18:42
    eed3si9n synchronize #2057
  • Jun 20 2015 18:42

    eed3si9n on fixbuild

    Fix typo (compare)

  • Jun 20 2015 18:23

    eed3si9n on fixbuild

    Adds bundledLauncherProj to all… Remove launcher tests Add unit tests to Travis and 1 more (compare)

  • Jun 20 2015 18:23
    eed3si9n synchronize #2057
  • Jun 20 2015 14:59

    eed3si9n on scalaversionbump

    (compare)

  • Jun 20 2015 14:59

    eed3si9n on 0.13

    Bumping up Scala version to 2.1… Try to keep bincompat Fixes #1666 and 1 more (compare)

  • Jun 20 2015 14:59
    eed3si9n unlabeled #2068
  • Jun 20 2015 14:59
    eed3si9n closed #2068
  • Jun 20 2015 14:59
    eed3si9n closed #1666
  • Jun 20 2015 14:57
    eed3si9n commented #2068
  • Jun 20 2015 12:55
    dwijnand commented #2068
  • Jun 20 2015 04:51
    eed3si9n synchronize #2068
  • Jun 20 2015 04:51

    eed3si9n on scalaversionbump

    Fixes #1666 (compare)

Sukant Hajra
@shajra
Or not enough.
Jorge
@jvican
If you want to learn more about sbt, I think it would be a good exercise to port that plugin to sbt 1.0.0-M6 (doing so is trivial), and then adding some more tests.
I can see that being a very meaningful contribution.
Sukant Hajra
@shajra
What's the best feature in SBT 1.0.0?
Jorge
@jvican
There are lots of improvements. Have a look at the latest milestone changelog.
Both sbt 1.0.0-M5 and M6.
Sukant Hajra
@shajra
actually, I forgot about SBT Server.
That's probably the biggest thing, I think.
Jorge
@jvican
Well, it depends :-)
I am more concerned about other stuff, but yeah, user-wise that is a remarkable feature as soon as Intellij and other IDEs support it.
Marco Ordoñez
@mordonez_me_twitter
Hi guys, does any of you know how to integrate activejdbc?
I don't know how to integrate the instrumentation part
Any help is appreciated
Sukant Hajra
@shajra
@jvican I didn't make a minimized experiment, but Eugene Y. did say on Twitter at least that inScope(This) should indeed be an identity function.
And I think he's as close to an authority on SBT as we'll get these days.
As for migrating Wartremover to SBT 1.0.0, I'm not likely to be The One... too many other things on my plate.
Adelbert Chang
@adelbertc
is it possible to set the ivy cache directory from an SBT build file? i know you can do it with like sbt -Divy.home but is it possible to do it from a build?
eugene yokota
@eed3si9n
@adelbertc ivyPaths := IvyPaths( (baseDirectory in ThisBuild).value, Some((target in LocalRootProject).value / "ivy-cache"))
Sukant Hajra
@shajra
I'm trying to read the output of inspect tree test and I'm having a hard time seeing where the tests hook into a test:compile call.
eugene yokota
@eed3si9n
@shajra the track will go cold if there's a dynamic task along the path
Sukant Hajra
@shajra
oh yeah, dynamic tasks... I try not to think about those.
but I guess that's what's going on there?
eugene yokota
@eed3si9n
yea
exportedProducts will either triger compilation or packageBin
Sukant Hajra
@shajra
@eed3si9n the only way to see where dynamic tasks are is with a source code dive?
eugene yokota
@eed3si9n
basically
Sukant Hajra
@shajra
Okay. On one hand, I think SBT is actually the best build tool I've ever used. On the other hand, I still do not enjoy using it.
eugene yokota
@eed3si9n
for the most part we try to be applicative, but once in a while monad (flatMap) slips in
all the side effects are in Task and they run in parallel by default
plus it has imperative looking DSL that ppl can live with
it's a dream come true fanfic of a build tool
Sukant Hajra
@shajra
@eed3si9n okay I made a small game yesterday of actually understanding how SBT works for some of our settings, and I'm almost there. Along the way, I learned about This and derive and was reminded about dynamic tasks, and how all that relates to normal delegation -- the while looking through the keyhole of inspect calls...
Jorge
@jvican
@eed3si9n Do you remember an improvement that you made to either .evaluated or .taskValue to make it easier to use in the past two months?
ah, here it is: sbt/sbt#2943
Sukant Hajra
@shajra
so my last remaining question is to understand the order of execution of my plugin, with Wartremover, with the normal SBT default stuff.
I'm setting the scalacOptions in the globalSettings of an autoPlugin. Order matters for other thing messing with scalacOptions, right?
I believe SBT is setting scalacOptions for both the Compile and Test configurations at the project level.
I'm guessing SBT is doing this after my globalSettings, because my options are being picked up.
Sukant Hajra
@shajra
but that doesn't jive with my world view of how these things are ordered.
eugene yokota
@eed3si9n
basically avoid using global settings for built-in keys
and also make sure you have override def requires = plugins.JvmPlugin
so your stuff comes after sbt's default settings (which themselves are also auto plugins)
Sukant Hajra
@shajra
@eed3si9n is there a way to inspect the order that plugins are loaded.
I think I'm getting away with this because I'm not specifying the requirement of the JvmPlugin, and it's running after me, and not before.
which I'm inclined to correct if that's the case.
eugene yokota
@eed3si9n
there's sbt --debug output, but the order really depends on each user's environment
if the auto plugin doesn't declare dependency it would be placed randomly
Sukant Hajra
@shajra
psuedo-randomly, I hope.
eugene yokota
@eed3si9n
which is an oddity we will correct in sbt 1.0