mbeckerle commented on issue #146:
URL: https://github.com/apache/daffodil-sbt/issues/146#issuecomment-3665423114
So what about something like:
```
libraryDependencies ++= Seq(
DFDLSchema(package="com.example", name="dfdl-fmt", schemaVersion="0.0.1",
daffodilVersion ="4.0.0")
)
```
or even
```
libraryDependencies ++= DFDLSchemaDependencies {
... whatever we want here for notation ...
}
```
This of course assumes we can find a way for sbt's little language features
like "%" and "artifacts" to be callable from regular code., which is not
something I am informed about.
I guess my point is that there's nothing requiring us to respect the sbt
notational stuff and try to make a schema dependency look just like other java
code jar dependencies as much as possible. We can require our own syntax here,
and I'd suggest a very basic one like the above.
Note also that schemas have dependencies on BOTH the compiled daffodil
".bin" as well as on the daffodil plugin jar files, and we should try to grab
them both and use appropriately on classpath etc. with one mention here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]