Chapter 6. The IO and Process libraries

This chapter covers

  • Creating sbt tasks that run external processes
  • Manipulating files with sbt’s IO library
  • Logging information with sbt’s task loggers
  • Managing the task dependency graph
  • Forking Java processes

So far you’re up and running with sbt and you have a basic build, along with tests to make sure that your code works. But you still have a couple of issues with your build. Your integration tests aren’t quite as slick as you’d like—you still need to start the preowned-kittens application manually. To be fully integrated in your build, you should start the server before running the tests and stop it afterward. You’ll start other processes as well. But before that, you have the problem of packaging. ...

Get sbt in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.