You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stevedlawrence (via GitHub)" <gi...@apache.org> on 2024/01/23 15:53:51 UTC
[I] Option to configure flattened layout [daffodil-sbt]
stevedlawrence opened a new issue, #8:
URL: https://github.com/apache/daffodil-sbt/issues/8
Although not very common, it is sometimes preferred to have a flattened schema layout, where there are only two directories `src/` and `test/`, with combined source and resource files in the directories, using just the file extension to differentiate. For example, dfdl-csv defines this in build.sbt:
```scala
Compile / unmanagedSourceDirectories := Seq(baseDirectory.value / "src")
Compile / unmanagedResourceDirectories := (Compile / unmanagedSourceDirectories).value
Compile / unmanagedSources / includeFilter := "*.java" | "*.scala"
Compile / unmanagedResources / excludeFilter := (Compile / unmanagedSources / includeFilter).value
Test / unmanagedSourceDirectories := Seq(baseDirectory.value / "test")
Test / unmanagedResourceDirectories := (Test / unmanagedSourceDirectories).value
Test / unmanagedSources / includeFilter := "*.java" | "*.scala"
Test / unmanagedResources / excludeFilter := (Test / unmanagedSources / includeFilter).value
```
We should have a single option that can be set in build.sbt to enable these settings so that we don't have to copy/paste this logic when we want a flattened layout.
--
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: commits-unsubscribe@daffodil.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Option to configure flattened layout [daffodil-sbt]
Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence closed issue #8: Option to configure flattened layout
URL: https://github.com/apache/daffodil-sbt/issues/8
--
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: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org