zoukankan      html  css  js  c++  java
  • sbt is a build tool for Scala, Java, and more

    http://www.scala-sbt.org/0.13/docs/index.html

    sbt is a build tool for Scala, Java, and more. It requires Java 1.6 or later.

    Install 

    See Installing sbt for the setup instructions.

    Getting Started 

    To get started, please read the Getting Started Guide. You will save yourself a lot of time if you have the right understanding of the big picture up-front. All documentation may be found via the table of contents included at the end of every page.

    Use Stack Overflow for questions. Use the sbt-dev mailing list for discussing sbt development. Use@scala_sbt for questions and discussions.

    Features of sbt 

    • Little or no configuration required for simple projects
    • Scala-based build definition that can use the full flexibility of Scala code
    • Accurate incremental recompilation using information extracted from the compiler
    • Continuous compilation and testing with triggered execution
    • Packages and publishes jars
    • Generates documentation with scaladoc
    • Supports mixed Scala/Java projects
    • Supports testing with ScalaCheck, specs, and ScalaTest. JUnit is supported by a plugin.
    • Starts the Scala REPL with project classes and dependencies on the classpath
    • Modularization supported with sub-projects
    • External project support (list a git repository as a dependency!)
    • Parallel task execution, including parallel test execution
    • Library management support: inline declarations, external Ivy or Maven configuration files, or manual management

    Also 

    This documentation can be forked on GitHub. Feel free to make corrections and add documentation.

    Documentation for 0.7.x has been archived here. This documentation applies to sbt 0.13.16.

    See also the API DocumentationSXR Documentation, and the index of names and types.

     

    [root@hadoop2 mongo-spark]# ./sbt  check
    Getting org.scala-sbt sbt 0.13.9 ...
    downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.9/jars/sbt.jar ...
    	[SUCCESSFUL ] org.scala-sbt#sbt;0.13.9!sbt.jar (15434ms)
    downloading https://jcenter.bintray.com/org/scala-lang/scala-library/2.10.5/scala-library-2.10.5.jar ...
    	[SUCCESSFUL ] org.scala-lang#scala-library;2.10.5!scala-library.jar (6721ms)
    downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.9/jars/main.jar ...
    	[SUCCESSFUL ] org.scala-sbt#main;0.13.9!main.jar (18083ms)
    downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.9/jars/compiler-interface-src.jar ...
    	[SUCCESSFUL ] org.scala-sbt#compiler-interface;0.13.9!compiler-interface-src.jar (9661ms)
    downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.9/jars/compiler-interface-bin.jar ...
    

      

    [root@hadoop2 mongo-spark]# ./sbt +publish-signed
    [info] Loading project definition from /usr/local/mongo-spark/project
    [info] Set current project to mongo-spark-connector (in build file:/usr/local/mongo-spark/)
    [info] Setting version to 2.11.8
    [info] Reapplying settings...
    [info] Set current project to mongo-spark-connector (in build file:/usr/local/mongo-spark/)
    [warn] Credentials file /root/.ivy2/.spCredentials does not exist
    [info] Updating {file:/usr/local/mongo-spark/}mongo-spark-connector...
    [info] Packaging /usr/local/mongo-spark/target/scala-2.11/mongo-spark-connector_2.11-2.2.0-sources.jar ...
    [info] Formatting 71 Scala sources {file:/usr/local/mongo-spark/}mongo-spark-connector(compile) ...
    [info] Done packaging.
    Waiting for lock on /root/.ivy2/.sbt.ivy.lock to be available...
    [info] Wrote /usr/local/mongo-spark/target/scala-2.11/mongo-spark-connector_2.11-2.2.0.pom
    [info] Resolving org.apache.hadoop#hadoop-main;2.6.5 ...
    

      

  • 相关阅读:
    (Relax njuptoj)1009 数的计算(DP)
    Eclipse使用技巧总结(二)
    Ibatis的分页机制的缺陷
    TFT ST7735的Netduino驱动
    超级求爱程序--为我们的程序工作找乐子
    Selenium Grid跨浏览器-兼容性测试
    PHP一般情况下生成的缩略图都比较不理想
    库目录和头文件目录中生成画图函数
    根据PHP手册什么叫作变量的变量?
    数据库的最基本的逻辑结构组成架构
  • 原文地址:https://www.cnblogs.com/rsapaper/p/7886930.html
Copyright © 2011-2022 走看看