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

alexcb commented on KAFKA-2098:
-------------------------------

The comment about not committing binaries goes directly against the userguide 
of gradle:

from http://gradle.org/docs/current/userguide/gradle_wrapper.html

{quote}
All of these files should be submitted to your version control system. This 
only needs to be done once. After these files have been added to the project, 
the project should then be built with the added gradlew command. The gradlew 
command can be used exactly the same way as the gradle command. 
{quote}

The kafka README states that one must first run "gradle", then run "./gradlew 
jar". The "gradle" command generates the gradlew script. If we don't want to 
add binaries to the source revision (a noble cause), then perhaps one should 
also avoid adding generated files such as the "gradlew" file.

I personally lost an hour on this issue already.

> Gradle Wrapper Jar gone missing in 0.8.2.1
> ------------------------------------------
>
>                 Key: KAFKA-2098
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2098
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.2.1
>            Reporter: Rekha Joshi
>
> ./gradlew idea
> Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
> This was working in 0.8.2.Attaching patch.Thanks



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

Reply via email to