storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [01/47] storm git commit: Allow more arguments to be passed to storm jar
Date Wed, 12 Nov 2014 16:45:02 GMT
Repository: storm
Updated Branches:
  refs/heads/security 04a7937dd -> e6b18863e


Allow more arguments to be passed to storm jar

This change removes the argument limit for the 'storm jar' command on
Windows


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

Branch: refs/heads/security
Commit: 727dd1d5ea36aadf05ed8ae50435aaa40a46d664
Parents: 7ac24b8
Author: Megan Kearl <megkearl@gmail.com>
Authored: Tue Jul 22 15:06:43 2014 -0500
Committer: Megan Kearl <megkearl@gmail.com>
Committed: Tue Jul 22 15:06:43 2014 -0500

----------------------------------------------------------------------
 bin/storm.cmd | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/727dd1d5/bin/storm.cmd
----------------------------------------------------------------------
diff --git a/bin/storm.cmd b/bin/storm.cmd
index 17c01d6..38fdf44 100644
--- a/bin/storm.cmd
+++ b/bin/storm.cmd
@@ -69,7 +69,16 @@
     set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% -Dstorm.jar=%2
     set CLASSPATH=%CLASSPATH%;%2
     set CLASS=%3
-    set storm-command-arguments=%4 %5 %6 %7 %8 %9
+    set args=%4
+    shift
+    :start
+    if [%4] == [] goto done
+    set args=%args% %4
+    shift
+    goto start
+
+    :done
+    set storm-command-arguments=%args%
   )
   
   if not defined STORM_LOG_FILE (


Mime
View raw message