You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Contents

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:

Building 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.

 

  • No labels