[
https://issues.apache.org/jira/browse/SAMZA-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485334#comment-15485334
]
Jagadish commented on SAMZA-1016:
---------------------------------
RB up: https://reviews.apache.org/r/51824/ . ( SAMZA-1015 should be committed
first)
> Fix gradle settings for joint compilation in Samza
> --------------------------------------------------
>
> Key: SAMZA-1016
> URL: https://issues.apache.org/jira/browse/SAMZA-1016
> Project: Samza
> Issue Type: Bug
> Reporter: Jagadish
>
> The Samza gradle settings are not setup correctly for joint compilation of
> Java and Scala. When javac runs before scalac, the .java files that import
> scala classes will fail compilation. This is because scalac has not run (and
> hence, has not compiled the imported scala sources to class files). The
> reverse problem occurs when scalac is run before javac - ie. the .scala files
> that import java classes will fail compilation.
> "Joint compilation" refers to compiling scala and java as a single
> compilation unit. This will disable the `java` plugin and will run the
> `scala` plugin to joint compile both java and scala sources.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)