cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r835939 - /incubator/cassandra/trunk/bin/cassandra-cli.bat
Date Fri, 13 Nov 2009 17:50:26 GMT
Author: eevans
Date: Fri Nov 13 17:50:26 2009
New Revision: 835939

URL: http://svn.apache.org/viewvc?rev=835939&view=rev
Log:
windows start script for cassandra cli

Patch by Dirk Weber; reviewed by eevans for CASSANDRA-549

Added:
    incubator/cassandra/trunk/bin/cassandra-cli.bat   (with props)

Added: incubator/cassandra/trunk/bin/cassandra-cli.bat
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/bin/cassandra-cli.bat?rev=835939&view=auto
==============================================================================
--- incubator/cassandra/trunk/bin/cassandra-cli.bat (added)
+++ incubator/cassandra/trunk/bin/cassandra-cli.bat Fri Nov 13 17:50:26 2009
@@ -0,0 +1,16 @@
+@echo off
+SETLOCAL
+
+SET CASSANDRA_LIBS=%CASSANDRA_HOME%\lib
+
+FOR %%a IN (%CASSANDRA_HOME%\lib\*.jar) DO  call :append %%~fa
+java -cp %CASSANDRA_LIBS% org.apache.cassandra.cli.CliMain
+
+:append
+SET CASSANDRA_LIBS=%CASSANDRA_LIBS%;%1%2
+goto :finally
+
+
+:finally
+
+ENDLOCAL

Propchange: incubator/cassandra/trunk/bin/cassandra-cli.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF



Mime
View raw message