[ 
https://issues.apache.org/jira/browse/KAFKA-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215074#comment-14215074
 ] 

Jean-Francois Im commented on KAFKA-1781:
-----------------------------------------

I think the two are related to JDK 8, but distinct issues. For example, running 
with JDK 8, gradle 1.8 and scala version 2.11:

{quote}
$ gradle -version

------------------------------------------------------------
Gradle 1.8
------------------------------------------------------------

Build time:   2013-09-24 07:32:33 UTC
Build number: none
Revision:     7970ec3503b4f5767ee1c1c69f8b4186c4763e3d

Groovy:       1.8.6
Ant:          Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy:          2.2.0
JVM:          1.8.0_05 (Oracle Corporation 25.5-b02)
OS:           Linux 2.6.32-358.6.2.el6.x86_64 amd64

$ gradle -PscalaVersion=2.11
To honour the JVM settings for this build a new JVM will be forked. Please 
consider using the daemon: 
http://gradle.org/docs/1.8/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.11

FAILURE: Build failed with an exception.

* Where:
Build file '/home/jfim/projects/KAFKA-1781/build.gradle' line: 199

* What went wrong:
A problem occurred evaluating root project 'KAFKA-1781'.
> Could not create task of type 'ScalaDoc'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 7.725 secs
{quote}

I think the takeaway for the wrapper download is that 2.0 is required if 
running on JDK 8 and that 1.8 (and potentially lower) work on JDK 7. The rest 
of the build is still broken with scala 2.10.1 on JDK 8, even when on gradle 
2.0.

I'm not sure what the proper resolution to this issue would be. Requiring 2.0 
seems rather safe but is only required on JDK 8 and does not fix KAFKA-1624. 
Perhaps adding a note that JDK 8 is not supported at this point in time is the 
proper resolution?

> Readme should specify that Gradle 2.0 is required for initial bootstrap
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-1781
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1781
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.2
>            Reporter: Jean-Francois Im
>            Priority: Blocker
>             Fix For: 0.8.2
>
>         Attachments: gradle-2.0-readme.patch
>
>
> Current README.md says "You need to have gradle installed."
> As the bootstrap procedure doesn't work with gradle 1.12, this needs to say 
> that 2.0 or greater is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to