Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Josh Suereth
    @jsuereth
    I'm trying to release 0.3.5 right now :)
    But yeah, we shoudl catch up. I'm in amsterdam now, so just ping me when you're in and rested
    kiritsuku
    @kiritsuku
    alright
    Aravindh Sridharan
    @hardvain
    @all: I am planning to start a online tutorial for scala. I want a feature where the user able to edit & compile code snippets from browser like what a fiddle. I also want the ability for the user to see the compile time output (like what activator does), intermediate code generated etc. Which is a suitable library to do this? I looked at sbt-launcher but I am not sure if that is exactly the tool I want. Any pointers will be helpul
    PanAeon
    @PanAeon
    @hardvain have you looked at http://www.scala-js-fiddle.com/ ?
    Martin Ring
    @martinring
    hey @all. I am currently building sbt support for visual studio code and have been playing around with sbtrc. It seems like there is not much activity here anymore. Is this project still alive?
    Josh Suereth
    @jsuereth
    @martinring Well, it's still the best place I think, but the future is largely in @eed3si9n 's hands. We migrated investment of time into modularization over server, and there's agood bit of issues still in scala pickling which make this project interesting
    Graham Pople
    @programmatix
    Is there a way of using sbt-remote-control from IntelliJ to kick off a build? I'm using sbt for both scalajs and scala-on-android, and having to alt-tab to my sbt window a million times a day to start a build is getting old...
    Josh Suereth
    @jsuereth
    Not sure intellij uses sbt-remote-control....
    Graham Pople
    @programmatix
    Nah it doesn't, I was wondering if someone had jerry-rigged something. Alternatively, can I use sbt-remote-control from the command line? If so I can make IntelliJ call a shell script or something.
    Josh Suereth
    @jsuereth
    Command line is still pretty flaky
    Unfortunately....
    Last I hacked, still had some issues where, for some reason, we lost control of jline/input
    Probably a concurrency bug, but couldn't isolate it
    Graham Pople
    @programmatix
    Ok, no probs - just thought I'd check where things were. I don't have any time to contribute to the project, sorry, so I'll live with the alt-tabbing.
    If I did want to have a play with command line, are there any docs or wiki on this?
    Tyler James Harden
    @tylerjharden
    You can use sbt from the terminal within IntelliJ which already defaults to your project directory at login. Which is what I currently do. Alternatively there is an SBT plugin that brings up a forced-sbt REPL but it's rather buggy. I'd be interested in having better support for sbt in IntelliJ via sbt-remote-control so if anyone could point me in a direction where I could start to help make that happen it would be awesome.
    eugene yokota
    @eed3si9n
    a button on IntelliJ that does compile - http://eed3si9n.com/sbt-server-reboot
    Joe Arasin
    @joearasin
    Awesome — looking forward to seeing this progress
    kiritsuku
    @kiritsuku
    @eed3si9n what does this mean for the future of the current sbt-server?
    Is it going to be replaced soon?
    Also, how do you plan to replace functionality like MinimalBuildStructure?
    Does 1.0 introduce new commans that expose sbts internal data structures?
    Rory Graves
    @rorygraves
    @eed3si9n Thats very cool - going to have a play with this
    @eed3si9n Noticed a bug here - https://github.com/sbt/intellij-sbt/blob/v0.99.0-reboot/src/main/scala/sbt/intellij/sbtsupport/SbtServerConsole.scala#L56 - you have the method call in a while loop (outside) but recurse on error here - you would eventually get a stack overflow if the server is not up.
    eugene yokota
    @eed3si9n
    @sschaef not sure if it happens "soon", but if the reboot effort is bringing concepts over from current server into sbt's codebase but not its implementation
    Rory Graves
    @rorygraves
    Hey everybody, If I want to put together a quick sbt wrapper (controlled by an application) that compiles, run tests etc what would be the best way to do this?
    I.e. is sbt-remote-control a good starting point or should I be looking somewhere else.
    eugene yokota
    @eed3si9n
    not sure
    if you're not interested in sbt being up and running simultenously there's actually a built-in command called ReadCommand
    which is named <
    usage:
    $ echo "compile" > test.txt
    $ sbt < test.txt
    Rory Graves
    @rorygraves
    What I'm aiming for is to have a remote controlled sbt (no prompt) which allows my to clean, compile, test without having to restart sbt.
    So spin up some wrapper around sbt and send it commands/handle responses - it doesn't need to be too clever
    eugene yokota
    @eed3si9n
    actually the usage pattern I was thinking about is more like sbt "< 9000", but that's probably internal stuff... so I guess for now, lobby for sbt server
    Rory Graves
    @rorygraves
    Who/where should I be looking for that - https://github.com/sbt/sbt/wiki/Client-server-split ?
    or just sbt/sbt?
    eugene yokota
    @eed3si9n
    the code that came out of the wiki plan is sbt-remote-control, but it's going to be deprecated/abandoned most likely
    a more restrained story that I am hoping happens is http://eed3si9n.com/sbt-server-reboot
    and that's basically sbt/sbt
    Rory Graves
    @rorygraves
    Oh cool - thats was the other part I vaguely remembered but could not find. - Thanks @eed3si9n
    Rory Graves
    @rorygraves
    @eed3si9n This server component is exactly the kind of thing I was after - is there a good place to discuss it?
    eugene yokota
    @eed3si9n
    @rorygraves sbt/sbt-dev
    Rory Graves
    @rorygraves
    Ta.
    Jared Hooper
    @hooph00p
    Hey! Is this project's artifact available on maven?
    e.g. can I add it as a dependency in Dependencies.scala for a development project to use the API?
    Jared Hooper
    @hooph00p
    I was hoping to avoid using publishLocal so I can use this in an in-house developer tool for our new engineers
    Jared Hooper
    @hooph00p
    scrolling up, found that using "com.typesafe.sbtrc" % "client-2-11" % "0.3.2" with the resolver Resolver.typesafeIvyRepo("releases") works for me.
    I'm going to PR the README to include that :joy:
    Jared Hooper
    @hooph00p
    <.< never mind that