[
https://issues.apache.org/jira/browse/KAFKA-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495104#comment-14495104
]
Gwen Shapira edited comment on KAFKA-2124 at 4/14/15 11:09 PM:
---------------------------------------------------------------
Yep yep. Known issue and documented in the README.
We can't package the gradle jar in our repository (since we end up with a
binary in our source distro).
The solution is for you to download Gradle and run it prior to running gradlew.
Edit: Actually, you got the right issue in the "related jira". So you probably
know what I just explained. Do you have a suggested solution?
was (Author: gwenshap):
Yep yep. Known issue and documented in the README.
We can't package the gradle jar in our repository (since we end up with a
binary in our source distro).
The solution is for you to download Gradle and run it prior to running gradlew.
> 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)