commit | c125d397a692b30d7d5b62da0a6a0adc9a53b8a7 | [log] [tgz] |
---|---|---|
author | Steve Lawrence <slawrence@apache.org> | Fri Feb 26 12:31:59 2021 -0500 |
committer | Steve Lawrence <stephen.d.lawrence@gmail.com> | Fri Feb 26 12:37:18 2021 -0500 |
tree | d19a22ba66214cceafce24482748627607fb3245 | |
parent | a1589bec83e4287befc3f8dd6da0b33a684923de [diff] |
Add Daffodil schema template - Create a Giter8 template repository for easily creating Daffodil DFDL schema projects. Everything in src/main/g8/ is the actual template. Note that all the files in this directory are Apache Licensed, but the licenses are in g8 comments so that when files are generated they are not licensed. This lets the user determine what license they want their schema to use. - Also includes .asf.yaml and .github files to configure GithHub settings and continuous integration DAFFODIL-2144
This repository is a Giter8 template for Apache Daffodil DFDL schemas.
Install SBT and run the following command:
sbt new apache/daffodil-schema.g8
This command prompts for various properties and creates a bare-bones directory structure that follows the recommended DFDL Schema Project Layout. This includes git and sbt configuration files, a basic DFDL schema file, and TDML and test files.
The following properties are used to configure the generated DFDL schema project:
This repository uses the SBT Giter8 plugin to perform a single basic sanity check of template generation. To execute this check, run:
sbt test
This command generates a new project using the default.properties
template values and then runs the SBT Scripted commands defined in src/test/g8/test
to validate correct generation.
Apache Daffodil DFDL Schema Template is licensed under the Apache License, v2.0.