-
Notifications
You must be signed in to change notification settings - Fork 29k
[Spark-25298][Build] Improve build definition for Scala 2.12 #22310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Why the move of the source code in the 2.11 tree? looks like it's not in the right package dir now. |
|
Test build #95579 has finished for PR 22310 at commit
|
|
@srowen It is about the sbt convention. see my demo project: https://github.com/sadhen/spark-25298 |
|
@sadhen we use Maven though, not SBT. (SBT works through a plugin). But my point is the path |
|
@srowen Sorry I should have explained why I made these changes. The follow steps failed to compile: The error messages are appended above. After these changes, the commands are simplified and the compile works: |
|
The problem of package hierarchy is fixed. |
srowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah OK so instead of ...
src/main/scala/...
scala-2.11/src/main/scala
we get
src/main/scala
src/main/scala-2.11
Yeah that's more logical, and if it matches SBT conventions better, OK.
|
Test build #95595 has finished for PR 22310 at commit
|
|
Merged to master |
What changes were proposed in this pull request?
Improve build for Scala 2.12. Current build for sbt fails on the subproject
repl:How was this patch tested?