by

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
@eed3si9n I can kind of see the name Zero as the identity element of a monoid. But I wonder if the name will confuse people in a "build system" sense.
eugene yokota
@eed3si9n
I like zero because it reminds me of x, y, and z axes on 3D graph
we keep using the "axis" metaphor in the doc, zero makes it intruitive that its one of the values, nothing magical
much like This, you wouldn't come across Zero literally in build.sbt
one would just say foo in Global or Global / foo
Sukant Hajra
@shajra
Oh, I see. It's the origin.
ritschwumm
@ritschwumm
eugene yokota
@eed3si9n
yea
i caught it at some point in draft but the mouse returned in the final :)
there's also a typo about M5 and M6
ok. merged the typo fix. it'll be rolled out when Jenkins run
Sukant Hajra
@shajra
What's Josh working on these days? I just realized I haven't seen/heard from him in a while.
eugene yokota
@eed3si9n
he’s been keeping low profile since he left Lightbend. he’s been doing cool stuff, but I’d respect his privacy
Igmar Palsenberg
@igmar
@jvican Can I influence whats (if any) get's inherited from a parent module ?
Jorge
@jvican
@igmar I'm sorry but I don't get that question. What do you mean?
Igmar Palsenberg
@igmar
I have A -> B -> C, where C depends on B and A. Ik want to force version overrides in B, so that C enherits all dependencies from B and thus A
@jvican now I have to override them in both B and C
I want to say : inherit from B, unless overridden
Where A is Play, and B a common module, and C the application itself
Jorge
@jvican
I have no idea how to do that, I've never had that need
It should have everything you need to do that
Igmar Palsenberg
@igmar
I checked that, didn't tell me the right things
Sukant Hajra
@shajra
I normally only use the ".value" macro on the right-hand side of a setting... but is there a way to conditionally apply a setting based on a value. Like if I wanted to do something like if (someKey.value) addCompilerPlugin(somePlugin) else List.empty
I'm pretty sure that won't compile.
Sukant Hajra
@shajra
I suppose in this specific case, I can do something like libraryDependencies ++= { if (someKey.value) List(compilerPlugin(somePlugin) else List.empty }
Sukant Hajra
@shajra
Also, I just realized I don't know the best way to set a global setting in a .sbt file. Is that possible? It seems like all the settings in a .sbt file seem set at the project level.
Sukant Hajra
@shajra
hmm... using "inThisBuild" inside the project-level settings seems really counter-intuitive to me: http://www.scala-sbt.org/0.13/docs/Scopes.html#Build-level+settings
But I guess it works because it removes a "This" out of the key references, which essentially makes it no-longer a candidate for project-level scoping.
Dale Wijnand
@dwijnand
Yeah you replace the implicit, unresolved This axis value with the alternative, also unresolved, ThisBuild axis value. I tend not to nest it inside the root project's settings and just declare it at the root because it's unnecessary nesting.
Sukant Hajra
@shajra
okay, makes sense.
It's good to hear these things out loud from another person.
Gerard Vico
@HDBandit
hello guys
I have a question about the integration with an internal proxy for dependencies. I installed artifactory, and I am working with sbt. Sbt remains resolving a lot of time. I am monitoring the artifactory logs, and I don¡'t see accesses to the artifactory. What SBT is doing when is resolving?
OlegYch
@OlegYch
nothing useful
try sbt-coursier
Krishna Padmasola
@kpadmasola

Hi, I am trying to run some gatling simulations via sbt, but I am getting this error:

[error] Uncaught exception when running tests: java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
sbt.ForkMain$ForkError: java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
        at io.gatling.sbt.GatlingRunner.tasks(GatlingRunner.scala:30)
        at sbt.ForkMain$Run.runTests(ForkMain.java:253)
        at sbt.ForkMain$Run.run(ForkMain.java:139)
        at sbt.ForkMain.main(ForkMain.java:121)

any pointers on how to resolve this error ?

Thomas Sutton
@thsutton
Maybe you have a plugin and an SBT build that were built against different versions of Scala?
Krishna Padmasola
@kpadmasola

@thsutton I am using these plugins:

> plugins                                                                
In file:/E:/perf/                                     
        sbt.plugins.IvyPlugin: enabled in perf                           
        sbt.plugins.JvmPlugin: enabled in perf                           
        sbt.plugins.CorePlugin: enabled in perf                          
        sbt.plugins.JUnitXmlReportPlugin: enabled in perf                
        sbt.plugins.Giter8TemplatePlugin: enabled in perf                
        com.typesafe.sbteclipse.plugin.EclipsePlugin: enabled in perf    
        coursier.CoursierPlugin: enabled in perf                         
        io.gatling.sbt.GatlingPlugin: enabled in perf

in build.sbt I have scalaVersion := "2.12.2"
how do I find out which plugin is incompatible with this version of scala ?

Krishna Padmasola
@kpadmasola
@thsutton figured it out by looking at https://github.com/gatling/gatling-sbt-plugin-demo/blob/master/build.sbt. I changed scalaVersion := "2.11.8" in my build.sbt and the error is gone. Thanks!
Sukant Hajra
@shajra
Is the "requires" field of an AutoPlugin used at all if the "trigger" is set to "noTrigger"? I think I understand how it's used when the trigger is set to "allRequirements".
Thomas Sutton
@thsutton
@kpadmasola No worries. It's a rare question in here that I can try to help with. :-)
eugene yokota
@eed3si9n
@shajra without requires your plugin will load at quasi random order potentially before all the sbt default settings
Sukant Hajra
@shajra
This message was deleted
Han van Venrooij
@irundaia

Hi guys,

I've got an issue where I package a native lib in a jar along with my sbt plugin. When the user of the plugin has a different version on his machine, there is the possibility for linking issues when the library is loaded with Native.loadLibrary.
Do you know of a way to force loading the library from the jar?

Oron Port
@soronpo
How do I remove options of scalacOptions by pattern matching?
Dale Wijnand
@dwijnand
Such as?
Oron Port
@soronpo
I have
... "-Xplugin:/home/soronpo/.ivy2/cache/org.scalamacros/paradise_2.12.2/jars/paradise_2.12.2-2.1.0.jar", ... "-Xplugin:/home/soronpo/.ivy2/cache/org.scalameta/paradise_2.12.2/jars/paradise_2.12.2-3.0.0-M9.jar" ... and want to just remove .*paradise.*
Dale Wijnand
@dwijnand
scalacOptions ~= { opts => ... }
Oron Port
@soronpo
What does ~= do? I cannot find documentations for it