mbeckerle commented on code in PR #13: URL: https://github.com/apache/daffodil-sbt/pull/13#discussion_r1465090233
########## README.md: ########## @@ -94,6 +94,23 @@ If used, one may want to use the first value of this setting to configure daffodilVersion := daffodilPackageBinVersions.value.head ``` +## Layers and User Defined Functions + +If your schema project builds a Daffodil layer or user defined function, then +set the `daffodilBuildsLayer` or `daffodilBuildsUDF` setting to true, +respectively. For example: + +```scala +daffodilBuildsLayer := true + +daffodilBuildsUDF := true +``` + +Setting either of these values to true adds additional dependencies needed to +build the component. Note that this also sets the SBT `crossPaths` setting to +`true`, which causes the scala version to be included in that jar file name +since layer and UDF jars are specific to the scala version used to build them. Review Comment: If the UDF is written in Java then no crossPaths would be needed right? A goal for the revised layer API should be that one can write a layer in Java I suppose. Do we need to know if Java or Scala are being used? -- 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]
