Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contents

Table of Contents
excludeContents

Build Daffodil Using SBT

Close Eclipse if it is open.

Open a terminal in Linux or the Command Line in Windows.

cd to the root folder of your local daffodil repository.

Run the following commands:

Code Block
titleBuilding From Source
$ sbt update-classifiers
$ sbt daffodil-lib/gen-managed
$ sbt test

These commands will generate the 'generated' code, retrieve all necessary libraries, build Daffodil and execute all tests.  At this point Daffodil is built and ready to use.

For more information on working with SBT commands for Daffodil go here.

Build Daffodil Using Eclipse

...

  1. Under "Additional command line parameters" add the following without quotes: "-language:experimental.macros"

...

  1. If there are still XML Errors after this you may have to select all daffodil-projects, right click -> Validate.

...

Page was removed as content was obsolete. Please see https://cwiki.apache.org/confluence/display/DAFFODIL/For+Contributors