[
https://issues.apache.org/jira/browse/KAFKA-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Carey updated KAFKA-717:
------------------------------
Attachment: KAFKA-717-complex.patch
KAFKA-717-simple.patch
The patches here implement conditional compilation of some sources based on the
version.
core/src/main/scala-2.8.x
and
core/src/main/scala-2.9.x
have been added, to the normal
core/src/main/scala
(and similar for tests)
2.8.x builds add the former, and 2.9.x and 2.10.x builds use the latter.
There are two patches,
KAFKA-717-simple.patch -- this variation only requires one conditionally
compiled file, but does not support 2.8.0 -- it supports 2.8.2, 2.9.1, 2.9.2,
2.9.3 and 2.10.1
KAFKA-717-complex.patch supports all the versions above as well as 2.8.0, but
it needs to conditionally compile 15 more files, some of them large.
Simply from the size of the patch file, one can see how much more difficult it
is to support 2.8.0 cross compilation with 2.10.0 than 2.8.2. The 'complex'
patch is 12x as large.
> scala 2.10 build support
> ------------------------
>
> Key: KAFKA-717
> URL: https://issues.apache.org/jira/browse/KAFKA-717
> Project: Kafka
> Issue Type: Improvement
> Components: packaging
> Affects Versions: 0.8
> Reporter: Viktor Taranenko
> Labels: build
> Attachments: 0001-KAFKA-717-Convert-to-scala-2.10.patch,
> KAFKA-717-complex.patch, KAFKA-717-simple.patch, kafka_scala_2.10.tar.gz
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira