You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2018/03/12 21:36:56 UTC

[kafka] branch 1.1 updated: MINOR: Fix wrong message in `bin/kafka-run-class.sh` (#4682)

This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch 1.1
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/1.1 by this push:
     new e334e25  MINOR: Fix wrong message in `bin/kafka-run-class.sh` (#4682)
e334e25 is described below

commit e334e25fad54dc1f523322e28b85d229adeb7d29
Author: Jimin Hsieh <ji...@gmail.com>
AuthorDate: Tue Mar 13 05:34:59 2018 +0800

    MINOR: Fix wrong message in `bin/kafka-run-class.sh` (#4682)
    
    To build jar you need to specify `scalaVersion` instead of `scala_version`.
    
    Reviewers: Manikumar Reddy O <ma...@gmail.com>, Jason Gustafson <ja...@confluent.io>
---
 bin/kafka-run-class.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/kafka-run-class.sh b/bin/kafka-run-class.sh
index 6676d0d..bb786da 100755
--- a/bin/kafka-run-class.sh
+++ b/bin/kafka-run-class.sh
@@ -137,7 +137,7 @@ done
 shopt -u nullglob
 
 if [ -z "$CLASSPATH" ] ; then
-  echo "Classpath is empty. Please build the project first e.g. by running './gradlew jar -Pscala_version=$SCALA_VERSION'"
+  echo "Classpath is empty. Please build the project first e.g. by running './gradlew jar -PscalaVersion=$SCALA_VERSION'"
   exit 1
 fi
 

-- 
To stop receiving notification emails like this one, please contact
jgus@apache.org.