Repository: kafka
Updated Branches:
  refs/heads/trunk 443cd9ab0 -> bd3fe839c


MINOR: Add new build target for system test libs

KAFKA-2644 adds MiniKdc for system tests and hence needs a target to collect 
all MiniKdc jars. At the moment, system tests run `gradlew jar`. Replacing that 
with `gradlew systemTestLibs` will enable kafka jars and test dependency jars 
to be built and copied into appropriate locations. Submitting this as a 
separate PR so that the new target can be added to the build scripts that run 
system tests before KAFKA-2644 is committed. A separate target for system test 
artifacts will allow dependency changes to be made in future without breaking 
test runs.

Author: Rajini Sivaram <[email protected]>

Reviewers: Ismael Juma <[email protected]>, Jun Rao <[email protected]>

Closes #361 from rajinisivaram/kafka-systemTestLibs


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/bd3fe839
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/bd3fe839
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/bd3fe839

Branch: refs/heads/trunk
Commit: bd3fe839ce0e4a7276d19e8e873783aa0cd76707
Parents: 443cd9a
Author: Rajini Sivaram <[email protected]>
Authored: Wed Oct 28 15:35:13 2015 -0700
Committer: Jun Rao <[email protected]>
Committed: Wed Oct 28 15:35:13 2015 -0700

----------------------------------------------------------------------
 build.gradle    | 2 ++
 tests/README.md | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/bd3fe839/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 128c195..2184031 100644
--- a/build.gradle
+++ b/build.gradle
@@ -150,6 +150,8 @@ subprojects {
 
   task docsJar(dependsOn: javadocJar)
 
+  task systemTestLibs(dependsOn: jar)
+
   artifacts {
     archives srcJar
     archives javadocJar

http://git-wip-us.apache.org/repos/asf/kafka/blob/bd3fe839/tests/README.md
----------------------------------------------------------------------
diff --git a/tests/README.md b/tests/README.md
index 82d31da..f2f8954 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -30,7 +30,7 @@ 
https://cwiki.apache.org/confluence/display/KAFKA/tutorial+-+set+up+and+run+Kafk
        
         $ git checkout $BRANCH
         $ gradle  # (only if necessary)
-        $ ./gradlew jar
+        $ ./gradlew systemTestLibs
      
 * Run the system tests using ducktape:
 

Reply via email to