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

Neha Narkhede commented on KAFKA-1171:
--------------------------------------

Tested patch 14. Here are some review comments -

uploadCoreArchives_all (mentioned in the README) fails with the following error 
-
[nnarkhed@nnarkhed-ld1 kafka]$ ./gradlew uploadCoreArchives_all
The TaskContainer.add() method has been deprecated and is scheduled to be 
removed in Gradle 2.0. Please use the create() method instead.
Building project 'core' with Scala version 2.8.0
Building project 'perf' with Scala version 2.8.0
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'uploadCoreArchives_all' not found in root project 'kafka'.
* Try:
Run gradlew tasks to get a list of available tasks.
BUILD FAILED
Total time: 4.577 secs

:core:uploadCoreArhives fails as well - http://pastebin.com/0NkShchU
Also, can we fix the comment and documentation here? README should be self 
sufficient and a lookup of build.gradle should not be required to run commands
./gradlew :core:uploadArchives (to test locally, see the comment in 
build.gradle)

build_all also failed
[nnarkhed@nnarkhed-ld1 kafka]$ ./gradlew build_all
The TaskContainer.add() method has been deprecated and is scheduled to be 
removed in Gradle 2.0. Please use the create() method instead.
Building project 'core' with Scala version 2.8.0
Building project 'perf' with Scala version 2.8.0
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'build_all' not found in root project 'kafka'.
* Try:
Run gradlew tasks to get a list of available tasks.
BUILD FAILED
Total time: 4.672 secs


> 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, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> kafka-1171_v10.patch, kafka-1171_v11.patch, kafka-1171_v12.patch, 
> kafka-1171_v13.patch, kafka-1171_v14.patch, kafka-1171_v6.patch, 
> kafka-1171_v7.patch, kafka-1171_v8.patch, kafka-1171_v9.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