Versions Compared

Key

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

Versions of Tools Needed

See Tested/Verified Tool Versions.

Daffodil development uses quite a few tools. To avoid the pages of this wiki becoming obsolete every time a tool-version changes, we centralize the Tested/Verified Tool Versions so that there's only one place that contains the actual version numbers. All the other pages should avoid specifying versions of anything.

IMPORTANT: These instructions were created using Windows 7 64-bit and Fedora 17 64-bit (Gnome 3.4.2)

Requirements

Java 1.8 or higher.

SBT (0.13.8 or higher)

Scala 2.11.8

Tool versions verified to work are located here: Tested/Verified Tool Versions

Getting Started

In order to contribute to Daffodil, you will need to follow a few steps.  

It is important to note that you will need to complete a separate installation of Eclipse for DFDL/Daffodil work as portions of the configuration steps will alter your XML settings.

If you are an experienced Developer familiar with the tools and technologies below you may proceed directly to the configuration steps.  Otherwise, please read and follow carefully.

You will need to:

Setup for command-line tool building of Daffodil is mandatory. Some things required by our development processes have to be done from the command line, regardless of whether most of your time will be spent using an IDE like Eclipse.

Setup for the Eclipse IDE is optional. See the Eclipse for Daffodil page.

IMPORTANT: You are expected to use the versions of the tools below that are given at Tested/Verified Tool Versions.

You will need to:

  1. For MS-Windows users: Setup Microsoft Windows for Unicode, as full Unicode support is required for using Daffodil.

  2. Install Java Software Development Kit aka SDK or JDK. (Note: Not only the Java Runtime Environment or JRE, you need the full JDK)
  3. Install SBT
    • Note: you need sbt even if you intend to do development from an IDE like Eclipse. There are things built using sbt that are necessary for the IDE environment.

    • You can find SBT installation instructions here: http://www.scala-sbt.org/0.13/docs/index.html

  4. Install Git
  5. Set Environment Variables
  6. Obtain Daffodil Source - See Getting Daffodil
  7. Install Java 8 SDK
  8. Install Eclipse
  9. Install SBT
  10. Install Git
  11. Configure SBT
  12. Configure Eclipse
    1. Windows
    2. Linux
  13. Retrieve Daffodil Source
  14. Execute a Preliminary Build to Retrieve LibrariesConfigure Eclipse: Settings and XML
  15. Build Daffodil
  16. Run Daffodil you just Compiled from the Command Line
  17. Development Workflow

...

Reference Material

...