Glad you resolved it. Note that we are currently on gradle 2.8 and likely 2.9 soon feel free to update whenever makes sense for you.
Ewen recently updated the developer setup page here <https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup> to show how to use the wrapper effectively in the Kafka repository. Since we do not checkin the wrapper jar, you need to execute the default gradle task by simply executing `gradle` before running and gradle wrapper tasks. See here <http://search-hadoop.com/m/uyzND1GtKrd1nxbcE1/The+wrapper+should+be+in+the+repository&subj=+gradle+build+The+wrapper+should+be+in+the+repository> for the related email chain. On Tue, Nov 17, 2015 at 10:27 AM, hsy...@gmail.com <hsy...@gmail.com> wrote: > I got main class not found error. So I installed gradle 2.5 and run gradle > build (not the wrapper) > > On Mon, Nov 16, 2015 at 10:17 PM, Guozhang Wang <wangg...@gmail.com> > wrote: > > > Did you just use "./gradlew build" in root directory? > > > > Guozhang > > > > On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com <hsy...@gmail.com> > > wrote: > > > > > The actual thing I want to do is I want to build and install in my > local > > > maven repository so I can include new api in my dependencies. When the > > > release is officially out, I can have both my code ready with the > > official > > > maven dependency > > > > > > Thanks, > > > Siyuan > > > > > > On Monday, November 16, 2015, Grant Henke <ghe...@cloudera.com> wrote: > > > > > > > Hi Siyuan, > > > > > > > > My guess is that you are trying to build from a subdirectory. I have > a > > > > minor patch available to fix this that has not been pulled in yet > here: > > > > https://github.com/apache/kafka/pull/509 > > > > > > > > In the mean time, if you need to build a subproject you can execute a > > > > command like the following: > > > > gradle clients:build > > > > > > > > Thanks, > > > > Grant > > > > > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang <wangg...@gmail.com > > > > <javascript:;>> wrote: > > > > > > > > > Siyuan, > > > > > > > > > > Which command did you use to build? > > > > > > > > > > Guozhang > > > > > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com <javascript:;> < > > > > hsy...@gmail.com <javascript:;>> > > > > > wrote: > > > > > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > > > > > Do I miss anything before build > > > > > > > > > > > > Thanks, > > > > > > Siyuan > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > -- Guozhang > > > > > > > > > > > > > > > > > > > > > -- > > > > Grant Henke > > > > Software Engineer | Cloudera > > > > gr...@cloudera.com <javascript:;> | twitter.com/gchenke | > > > > linkedin.com/in/granthenke > > > > > > > > > > > > > > > -- > > -- Guozhang > > > -- Grant Henke Software Engineer | Cloudera gr...@cloudera.com | twitter.com/gchenke | linkedin.com/in/granthenke