kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject [16/37] git commit: Fix windows build script - kafka-run-class.bat; patched by Mark deVilliers; reviewed by Jun Rao; kafka-751
Date Mon, 04 Mar 2013 04:22:02 GMT
Fix windows build script - kafka-run-class.bat; patched by Mark deVilliers; reviewed by Jun
Rao; kafka-751


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

Branch: refs/heads/trunk
Commit: b84168a3e3b68bb7d6d2904d4f7c591e43fc5435
Parents: 8103b4f
Author: Jun Rao <junrao@gmail.com>
Authored: Thu Feb 14 08:23:48 2013 -0800
Committer: Jun Rao <junrao@gmail.com>
Committed: Thu Feb 14 08:23:48 2013 -0800

----------------------------------------------------------------------
 bin/windows/kafka-run-class.bat |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/b84168a3/bin/windows/kafka-run-class.bat
----------------------------------------------------------------------
diff --git a/bin/windows/kafka-run-class.bat b/bin/windows/kafka-run-class.bat
index 12a3441..62941b5 100644
--- a/bin/windows/kafka-run-class.bat
+++ b/bin/windows/kafka-run-class.bat
@@ -25,23 +25,38 @@ set BASE_DIR=%CD%\..
 set CLASSPATH=
 echo %BASE_DIR%
 
-for %%i in (%BASE_DIR%\project\boot\scala-2.8.0\lib\*.jar) do (
-	call :concat %%i
-)
+set ivyPath=%USERPROFILE%\.ivy2\cache
 
-for %%i in (%BASE_DIR%\core\target\scala_2.8.0\*.jar) do (
-	call :concat %%i
-)
+set snappy=%ivyPath%/org.xerial.snappy/snappy-java/bundles/snappy-java-1.0.4.1.jar
+	call :concat %snappy%
 
-for %%i in (%BASE_DIR%\core\lib\*.jar) do (
+set library=%ivyPath%/org.scala-lang/scala-library/jars/scala-library-2.8.0.jar
+	call :concat %library%
+
+set compiler=%ivyPath%/org.scala-lang/scala-compiler/jars/scala-compiler-2.8.0.jar
+	call :concat %compiler%
+
+set log4j=%ivyPath%/log4j/log4j/jars/log4j-1.2.15.jar
+	call :concat %log4j%
+
+set slf=%ivyPath%/org.slf4j/slf4j-api/jars/slf4j-api-1.6.4.jar
+	call :concat %slf%
+
+set zookeeper=%ivyPath%/org.apache.zookeeper/zookeeper/jars/zookeeper-3.3.4.jar
+	call :concat %zookeeper%
+
+set jopt=%ivyPath%/net.sf.jopt-simple/jopt-simple/jars/jopt-simple-3.2.jar
+	call :concat %jopt%
+
+for %%i in (%BASE_DIR%\core\target\scala-2.8.0\*.jar) do (
 	call :concat %%i
 )
 
-for %%i in (%BASE_DIR%\perf\target\scala_2.8.0/kafka*.jar) do (
+for %%i in (%BASE_DIR%\core\lib\*.jar) do (
 	call :concat %%i
 )
 
-for %%i in (%BASE_DIR%\core\lib_managed\scala_2.8.0\compile\*.jar) do (
+for %%i in (%BASE_DIR%\perf\target\scala-2.8.0/kafka*.jar) do (
 	call :concat %%i
 )
 


Mime
View raw message