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)

Ghost
@ghost~540393fe163965c9bc2018ce
that said, it's not like anybody is checking the binaries.
Jorge
@jvican
have a look at that section, there i argue what it's required for a "secure" release process, where secure means "secure enough"
Ghost
@ghost~540393fe163965c9bc2018ce
and sonatype have basically zero security process
Jorge
@jvican
oh, i'm using passphrases for my CI gpg key :)
yeah, i wish there was an easier/better way for this
i've thought a lot about it, too
Ghost
@ghost~540393fe163965c9bc2018ce
it's not much better in other languages either... this will be the future of a high profile crack one day.
Sukant Hajra
@shajra
@eed3si9n when using sbt-doge, do you respecify the value for scalaVersion in crossScalaVersions?
Or is there a way of using sbt-doge that makes this practice unnecessary?
scalasolist
@scalasolist
What is the supposed way to pass JVM options to the sbt command?
eugene yokota
@eed3si9n
it depends. i think you would always want to have scalaVersion to some value so you can run tests without cross building. doge helps when you have heterogenous build with varying crossScalaVersions
Ghost
@ghost~540393fe163965c9bc2018ce
@scalasolist to sbt itself, use .jvmopts one line per arg, for launched processes you need to use fork := true and then use javaOptions ++= Seq(...)
eugene yokota
@eed3si9n
sbt commands normally inherits the jvm that sbt itself is running under
and what sam said
scalasolist
@scalasolist
@fommil thanks. .jvmopts is what I'm searching
Ghost
@ghost~540393fe163965c9bc2018ce
it even works on windows ;-)
Sukant Hajra
@shajra
@eed3si9n okay for the company, I have a small function that takes (mainTarget: ScalaTarget, others: ScalaTargets*) and it sets scalaVersion to just mainTarget, and crossScalaVersions to mainTarget +: others.
scalasolist
@scalasolist
where should I put .jvmopts?
Ghost
@ghost~540393fe163965c9bc2018ce
just in the root of your project
I also recommend using jenv to manage your version of java, and put a .java-version file beside the .jvmopts
eugene yokota
@eed3si9n
+1 on jenv
scalasolist
@scalasolist
eselect java-vm is sufficient for me
Ghost
@ghost~540393fe163965c9bc2018ce
the advantage of jenv is that it works on everybody's machine, not just yours, and you don't need to remember to change it
eugene yokota
@eed3si9n
i bought a laptop recently and found that Oracle no longer has JDK 7 download available
scalasolist
@scalasolist
I had not arrived yet to the point where my programs breaks jvm compatibility
Ghost
@ghost~540393fe163965c9bc2018ce
don't use Oracle proprietary crap, use OpenJDK
scalasolist
@scalasolist
Who is responsible for adding src/main/scala-2.11 in source directories: ensime plugin or sbt defaults?
Ghost
@ghost~540393fe163965c9bc2018ce
ensime plugin won't touch that
eugene yokota
@eed3si9n
i thought IDEs do that
Ghost
@ghost~540393fe163965c9bc2018ce
but I think the sbt defaults are wrong most of the time, so I customise them for my projects. e.g. that works for a normal release, but if you use a scala milestone release or somtehing it'll be a long name
oh, you mean actually creating the directory on disk?
read the output of running sbt ensimeConfig and then hang your head in shame :-P
scalasolist
@scalasolist
if @fommil says that ensime does not touch it, I would believe him. So I would search what sbt update added cross-versions as default
Ghost
@ghost~540393fe163965c9bc2018ce
do you mean in show sourceDirectories ? yeah, that's sbt
look in Defaults.scala in sbt
eugene yokota
@eed3si9n
sbt definately scans Scala specific directories
scalasolist
@scalasolist
@fommil I had read sbt ensimeConfig and become suspicions. I had checked show sourceDirectories and found, that someone add new stuff to it
Ghost
@ghost~540393fe163965c9bc2018ce
:-)
eugene yokota
@eed3si9n
but i am not sure if the question is about the setting or mkdir
it's about the setting
scalasolist
@scalasolist
The question is about sourceDirectories and how I could make them clean again
I'm writing my sbt config manually combining both .sbt and project/build.scala and expects no surprises from the sbt
Ghost
@ghost~540393fe163965c9bc2018ce
interesting, I can't see where I disable the default cross directories...
but that's definitely what I use to workaround the bug referenced in there
oh I think I allow the defaults plus these
scalasolist
@scalasolist
I'd read sbt release notes, there is something fishy recently added cross-building support. I'm afraid I should dive deeper to eliminate it
scalasolist
@scalasolist
@fommil JConsole shows that .jvmopts were ignored
Brian Topping
@briantopping
Hi all, does this look like anything that ought to work? this is my first time with these features:
    unmanagedResources in Compile += Def.task {
      val temp = IO.createTemporaryDirectory
      "curl --silent https://example.com/main-module/-/main-module-0.0.2.tgz" #| s"tar -xf -C$temp" !
        (unmanagedResourceDirectories in Compile) += temp
    }.taskValue
Palmer Lao
@palmerlao
I want to write a custom command that's similar to console but sets up spark. I know about initialCommands and cleanupCommands for console itself, but I was hoping for this to be separate. Could someone point me in the right direction?