|author||Steve Lawrence <email@example.com>||Fri Jan 14 07:53:52 2022 -0500|
|committer||Steve Lawrence <firstname.lastname@example.org>||Tue Jan 18 08:32:41 2022 -0500|
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.
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:
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.