Skip to content

Conversation

@LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@LuciferYang LuciferYang marked this pull request as draft September 26, 2023 13:01
@github-actions github-actions bot added the BUILD label Sep 26, 2023
) ++ {
// Do not attempt to scaladoc javadoc comments under 2.12 since it can't handle inner classes
if (scalaBinaryVersion.value == "2.12") Seq("-no-java-comments") else Seq.empty
if (scalaBinaryVersion.value == "2.13") Seq("-no-java-comments") else Seq.empty
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@srowen @easel I've found a leftover Scala 2.12 version check here, but when using the check method provided in #20042: sbt tags/publishLocal, I couldn't distinguish the scala doc built with or without -no-java-comments. I hope to get your help, how should we determine whether to keep the option -no-java-comments for Scala 2.13? Thanks ~

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should just remove this part, right? does not apply in Scala 2.13

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help @srowen , but I found that there are errors when executing build/sbt doc -Phadoop-3 -Phadoop-cloud -Pmesos -Pyarn -Pkinesis-asl -Phive-thriftserver -Pspark-ganglia-lgpl -Pkubernetes -Phive -Pvolcano. Let me fix them first.

@LuciferYang LuciferYang changed the title no-java-comments [SPARK-45342][BUILD] Remove the scala doc compilation option specific to Scala 2.12 Sep 26, 2023
@LuciferYang
Copy link
Contributor Author

we can use #43158, close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants