Scala Simple Built Tool (sbt) is required for building.
SBT will automatically download all necessary dependencies (including scala)
upon the first invocation. The cache is stored in ~/.ivy2.
Execute sbt to start the interactive sbt prompt. Below are some of the commonly
|Switch to the root project (this is the default project)|
|Switch to the library sub-project|
|Switch to the core sub-project|
|Switch to the conformance test suite sub-project|
The following commands can be run from within any sub-project if you only want
to build/test/etc that subproject. Dependendent tasks in another project will
be performed if required. Running a command from withing the root 'daffodil'
project will run the command in all sub-projects.
|Compile all sources|
|Compile all test sources|
|Run all tests in src/tests/scala and src/tests/scala-new|
|Only runs tests in the TestSuite specified by 'X'|
|Compile all tests in src/tests/scala-debug|
|Compile all tests in src/tests/scala-new|
|Run only tests in src/tests/scala-new|
|Remove all temporary build files|
|Create Scala API documentation via scaladoc|
|Generate jar files|
|Generate a script to execute daffodil on the command line (daffodil-core project only)|
|Publish daffodil-lib and daffodil-core locally|
|Download all dependent libraries to lib_managed|
All commands can be prefixed with the project name followed by a slash to run
that command in the project without having to change project. For example
$ sbt daffodil-lib/compile