Versions Compared

Key

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

Contents

Table of Contents
excludeContents

Build Daffodil Using SBT

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-props
$ 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.

Build Daffodil Using Eclipse

Follow the directions above in 'Build Daffodil Using SBT'.  This needs to happen to generate the 'generated' code.

Open Eclipse.

From the top menu click Project -> Build Project or just check Project -> Build Automatically.

Once the project is built you can test by opening 'daffodil-core/src/test/scala/' from the Package Explorer.

Expand the dsom package and select the TestDsomCompiler.scala file.  Right-click the file -> Run As -> JUnit Test

At this point, all of the tests should have run successfully.  If so, you are good to go.Page was removed as content was obsolete. Please see https://cwiki.apache.org/confluence/display/DAFFODIL/For+Contributors