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

Jakob Homan commented on KAFKA-2124:
------------------------------------

We can package the jar in the repo, we just need to exclude it from the source 
release, as Samza does: SAMZA-283.  The rule about no binaries applies to 
source releases, not repos.  This way the pain of having to have gradle 
installed is limited to just those who use the source distro and not a clone of 
the repo.

In addition, we should move the downloadWrapper task into a separate, more 
palatable script that works with more versions of gradle s.t. users don't have 
to much their gradle to whatever the current build.gradle is accepting.

> gradlew is not working on a fresh checkout
> ------------------------------------------
>
>                 Key: KAFKA-2124
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2124
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>            Reporter: Jakob Homan
>
> For a fresh checkout, the gradlew script is not working:
> {noformat}heimdallr 15:54 $ asfclone kafka
> Cloning into 'kafka'...
> remote: Counting objects: 25676, done.
> remote: Compressing objects: 100% (36/36), done.
> remote: Total 25676 (delta 5), reused 0 (delta 0), pack-reused 25627
> Receiving objects: 100% (25676/25676), 19.58 MiB | 4.29 MiB/s, done.
> Resolving deltas: 100% (13852/13852), done.
> Checking connectivity... done.
> /tmp/kafka /tmp
> /tmp
> ✔ /tmp
> heimdallr 15:54 $ cd kafka
> ✔ /tmp/kafka [trunk|✔]
> heimdallr 15:54 $ ./gradlew tasks
> Error: Could not find or load main class 
> org.gradle.wrapper.GradleWrapperMain{noformat}



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

Reply via email to