You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sachin Mittal <sj...@gmail.com> on 2016/12/03 04:01:56 UTC
Building kafka from source
I think may have asked this question but just for a quick response I am
posting here first, so my apologies.
I am following the guide on git and I don't understand this first step
First bootstrap and download the wrapper
cd kafka_source_dir
gradle
I suppose kafka source dir is the root dir of git local folder.
gradle command should be in path of the OS and this will automatically
download the wrapper is that correct.
I had downloaded gradle while back and I see following dir on my machine
C:\Users\Sachin\.gradle\wrapper\dists\gradle-2.9-bin\ebaspjjvvkuki3ldbldx7hexd\gradle-2.9\bin
Do I need to use this gradle in my PATH.
Thanks
Sachin
Re: Building kafka from source
Posted by Sachin Mittal <sj...@gmail.com>.
Hi,
I figured out the first step, where I am able to get the wrapper but simply
running
C:\Users\Sachin\.gradle\wrapper\dists\gradle-2.9-bin\ebaspjjvvkuki3ldbldx7hexd\gradle-2.9\bin\gradle
but when I build the jar using
D:\github\kafka>gradlew.bat jar
I get this error
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration
':connect:runtime:compileClasspath'.
> Could not resolve org.glassfish.hk2.external:javax.inject:2.5.0-b05.
My OS is windows.
Thanks
Sachin
On Sat, Dec 3, 2016 at 9:31 AM, Sachin Mittal <sj...@gmail.com> wrote:
> I think may have asked this question but just for a quick response I am
> posting here first, so my apologies.
>
> I am following the guide on git and I don't understand this first step
>
>
> First bootstrap and download the wrapper
>
> cd kafka_source_dir
> gradle
>
> I suppose kafka source dir is the root dir of git local folder.
>
> gradle command should be in path of the OS and this will automatically download the wrapper is that correct.
>
> I had downloaded gradle while back and I see following dir on my machine
> C:\Users\Sachin\.gradle\wrapper\dists\gradle-2.9-bin\ebaspjjvvkuki3ldbldx7hexd\gradle-2.9\bin
>
> Do I need to use this gradle in my PATH.
>
> Thanks
>
> Sachin
>
>
>
>
>
>