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/10/31 18:19:06 UTC
[I] Warn when daffodilFlatLayout is true but the layout doesn't look flat [daffodil-sbt]
stevedlawrence opened a new issue, #70:
URL: https://github.com/apache/daffodil-sbt/issues/70
It's very easy to copy paste from one project to another and add `daffodilFlatLayout := true` to a project that doesn't actually have a flat layout. If you do this things subtly break and it's not really clear why. Tests won't run because there is no `test/` directory, and since a `src/` directory exists, but it's of the form `src/{main,test}/{scala,resources}`, the resulting jar will literally contain files like `/main/resources/org/example/foo`. You'll still get a jar, but it will be pretty broken, and things like packageDaffodilBin will just not work since they can't find schemas, and it won't be clear why.
We should make it so if `daffodilFlatLayout` is true, but `src/main/` or `src/test/` directories exist then we output a warning to make it clear that the layout doesn't look right.
--
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] Warn when daffodilFlatLayout is true but the layout doesn't look flat [daffodil-sbt]
Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence closed issue #70: Warn when daffodilFlatLayout is true but the layout doesn't look flat
URL: https://github.com/apache/daffodil-sbt/issues/70
--
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
Re: [I] Warn when daffodilFlatLayout is true but the layout doesn't look flat [daffodil-sbt]
Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence closed issue #70: Warn when daffodilFlatLayout is true but the layout doesn't look flat
URL: https://github.com/apache/daffodil-sbt/issues/70
--
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