[ 
https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Rao updated KAFKA-1171:
---------------------------

    Attachment: kafka-1171_v6.patch

I made a pass of this. Attach the latest patch v6, which includes:
1. added a new task for copying all dependent jars locally and fixed Kafka 
script to pick up those jars
2. added a new task for building the release tar gz file
3. fixed the name of the built artifacts (with kafka prefix and scala version)
4. fixed READE with the new commands.
5. added the license HEADER for build to work.

TODO:
1. Currently, we default to build with scala 2.9.1. So the script only works if 
you build by specifying scala 2.8.0. Will look into how to default to build 
with scala 2.8.0.
2. Task "idea" fails with:
Execution failed for task ':ideaProject'.
> Cannot infer Scala class path because no Scala library Jar was found on class 
> path: 
> [/Users/jrao/.gradle/caches/artifacts-24/filestore/net.sf.jopt-simple/jopt-simple/3.2/jar/d625f12ba08083c8c16dcedd5396ec730e9e77ab/jopt-simple-3.2.jar]
3. There is a slight difference in artifact names. Currently, we have
kafka_2.8.0-0.8.1.jar
With this patch, it's changed to
kafka-2.8.0-0.8.1.jar
Will look into how to fix it.


> Gradle build for Kafka
> ----------------------
>
>                 Key: KAFKA-1171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1171
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: David Arthur
>            Assignee: David Arthur
>         Attachments: 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> kafka-1171_v6.patch
>
>
> We have previously discussed moving away from SBT to an 
> easier-to-comprehend-and-debug build system such as Ant or Gradle. I put up a 
> patch for an Ant+Ivy build a while ago[1], and it sounded like people wanted 
> to check out Gradle as well.
> 1. https://issues.apache.org/jira/browse/KAFKA-855



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to