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)

Jorge
@jvican
and allows batch test execution
Dale Wijnand
@dwijnand
"Add parallel batch mode to scripted tests" sbt/sbt#3151
Jorge
@jvican
(one scripted instance can run several scripted tests)
Dale Wijnand
@dwijnand
Sam how much do you want sbt 1 to be released?
Jorge
@jvican
by the way folks, i have released a plugin you may be interested in: https://github.com/scalacenter/sbt-release-early
allows you to release on merge and via git tags + niceties to make releasing easier
good docs too (i hope)
Ghost
@ghost~540393fe163965c9bc2018ce
I've already got that all automated, thanks
the reason I don't do final release on merge is because I wouldn't put by GPG key on anything other than my personal computer
Jorge
@jvican
i don't use my personal GPG key
also, with drone releases should be more secure
Ghost
@ghost~540393fe163965c9bc2018ce
that's pretty sad that people are not putting passphrases on their GPG keys... I predict this will bite us one day
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