When a DFDL Schema is a component of a larger schema, then the ".bin"
compiled schema is only needed for local testing, i.e., sbt test.

Is there any way for the build.sbt to have a setting so that this
compilation could be avoided when doing 'sbt publish' or 'sbt publishLocal'.

Basically, the ".bin" file is only needed for top-level schemas, not
component schemas. When the component schema is itself a very large schema,
and the final assembly top-level schema is really just gluing that together
with a header.

We have a project with 3 component schemas and 1 assembly schema. Waiting
for it to compile the binary  DFDL schema for the intermediate components
wastes a lot of time.

Mike Beckerle
Apache Daffodil PMC | daffodil.apache.org
OGF DFDL Workgroup Co-Chair | www.ogf.org/ogf/doku.php/standards/dfdl/dfdl
Owl Cyber Defense | www.owlcyberdefense.com

Reply via email to