Amazon cover image
Image from Amazon.com

Getting started with SBT for Scala : equip yourself with a high-productivity work environment using SBT, a build tool for Scala / Shiti Saxena ; graphics, Abhinash Sahu.

By: Contributor(s): Material type: TextTextSeries: Community experience distilledPublisher: Birmingham : Packt Publishing, 2013Description: 1 online resource (86 pages) : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781783282685
  • 1783282681
Subject(s): Genre/Form: Additional physical formats: Print version:: Getting Started with SBT for Scala.DDC classification:
  • 005.86
LOC classification:
  • QA76.73.S28 S29 2013eb
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Hello World with SBT; Why SBT?; Installing SBT; Installing from a package; Installing on Mac; Installing SBT manually; Creating a new project; Compiling, testing, and running your project; Going interactive with the SBT shell; Triggering SBT commands on saves; Summary; Chapter 2: .sbt Build Definitions; The theory of .sbt; The .sbt syntax; Understanding keys; Keys; Setting keys; Task keys; Input keys; Working with scopes; Summary.
Chapter 3: Dependency ManagementQuick introduction to Maven or Ivy dependency management; How Ivy works; Resolve; Retrieve; Publish; Dependency management in SBT; Automatic dependency management; Declaring dependencies in the build definition; Dependencies using Maven files; Dependencies using Ivy files or Ivy XML; Adding JAR files manually; Resolvers; Summary; Chapter 4: Full Build Definitions; Build definition project; .sbt and .scala; Working with full build definitions; Multiproject builds; Summary; Chapter 5: Compile, Test, and Run; Commands; Logging; Forking the JVM; Parallel execution.
SBT scripts and REPLClasspath, sources, and resources; Test; Summary; Index.
Summary: Annotation Build tools are a boon to developers working on large projects. With the configuration to run/execute the project moved out, developers can focus more on the project. SBT is a build tool designed for Scala and Java projects. It provides developers with a high productivity work environment hence it comes in really handy when dealing with large projects. Getting Started with SBT for Scala gets you going with using SBT and also introduces its advanced concepts. SBT is a build tool that uses a Scala-based DSL. Additionally, SBT has some interesting features that come in handy during development, such as starting a Scala REPL with project classes and dependencies on the classpath, continuous compilation and testing with triggered execution, and much more. Getting Started with SBT for Scala introduces SBT and its various features. It shows how to set up the build definition for a Scala project using sample code to explain different scenarios and use cases. It explains the basic configuration required to compile, test, and run a project using SBT. We will take a look at the additional configuration and settings that can be set to suit the project requirements. You will also learn how to handle project dependencies in SBT and use Scala files to define the build. It shows how to fork the JVM in SBT for different processes and specific configurations. It also explains the intricacies of the build definition, parallel execution. This book will make you familiar with SBT so that you can use it for different kinds of projects like simple, and multiple modules which can be dependent or independent.
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Online resource; title from PDF title page (ebrary, viewed September 30, 2013).

Annotation Build tools are a boon to developers working on large projects. With the configuration to run/execute the project moved out, developers can focus more on the project. SBT is a build tool designed for Scala and Java projects. It provides developers with a high productivity work environment hence it comes in really handy when dealing with large projects. Getting Started with SBT for Scala gets you going with using SBT and also introduces its advanced concepts. SBT is a build tool that uses a Scala-based DSL. Additionally, SBT has some interesting features that come in handy during development, such as starting a Scala REPL with project classes and dependencies on the classpath, continuous compilation and testing with triggered execution, and much more. Getting Started with SBT for Scala introduces SBT and its various features. It shows how to set up the build definition for a Scala project using sample code to explain different scenarios and use cases. It explains the basic configuration required to compile, test, and run a project using SBT. We will take a look at the additional configuration and settings that can be set to suit the project requirements. You will also learn how to handle project dependencies in SBT and use Scala files to define the build. It shows how to fork the JVM in SBT for different processes and specific configurations. It also explains the intricacies of the build definition, parallel execution. This book will make you familiar with SBT so that you can use it for different kinds of projects like simple, and multiple modules which can be dependent or independent.

Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Hello World with SBT; Why SBT?; Installing SBT; Installing from a package; Installing on Mac; Installing SBT manually; Creating a new project; Compiling, testing, and running your project; Going interactive with the SBT shell; Triggering SBT commands on saves; Summary; Chapter 2: .sbt Build Definitions; The theory of .sbt; The .sbt syntax; Understanding keys; Keys; Setting keys; Task keys; Input keys; Working with scopes; Summary.

Chapter 3: Dependency ManagementQuick introduction to Maven or Ivy dependency management; How Ivy works; Resolve; Retrieve; Publish; Dependency management in SBT; Automatic dependency management; Declaring dependencies in the build definition; Dependencies using Maven files; Dependencies using Ivy files or Ivy XML; Adding JAR files manually; Resolvers; Summary; Chapter 4: Full Build Definitions; Build definition project; .sbt and .scala; Working with full build definitions; Multiproject builds; Summary; Chapter 5: Compile, Test, and Run; Commands; Logging; Forking the JVM; Parallel execution.

SBT scripts and REPLClasspath, sources, and resources; Test; Summary; Index.

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library