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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to