commit | 467aece330391ec6aeb1f63777e594da24073c02 | [log] [tgz] |
---|---|---|
author | Steve Lawrence <slawrence@apache.org> | Fri Jan 14 07:53:52 2022 -0500 |
committer | Steve Lawrence <stephen.d.lawrence@gmail.com> | Tue Jan 18 08:32:41 2022 -0500 |
tree | 1f50947fd14389220c477f88cbe6158e86fdf9eb | |
parent | ece1c56dcbca3cbf3b6affaafcac91520ec8bfd4 [diff] |
Remove data and infoset directories Test files are generally easier to manage/inspect when tdml, data, and infoset files all live side by side, especially for smaller repositories. This should be the default. With the data directory removed, the .gitattributes file is updated to consider only *.scala, *.tdml, *.xml, and *.xsd test files as text. Any other test files are considered non-text and will have auto-crlf disabled. This prevents Git from modifying test files that look like text if auto-crlf is enabled.
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.