No way to do it currently. But I think it would be pretty straightforward to add support for something like "packageDaffodilBin/publishArtifacts := false" to disable it. I'll create a ticket for it.

On 2024-10-29 04:59 PM, Mike Beckerle wrote:

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 <http://daffodil.apache.org/>
OGFDFDLWorkgroup Co-Chair | www.ogf.org/ogf/doku.php/standards/dfdl/dfdl <http://www.ogf.org/ogf/doku.php/standards/dfdl/dfdl>
Owl Cyber Defense | www.owlcyberdefense.com <http://www.owlcyberdefense.com/>



Reply via email to