cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r966289 - in /cassandra/branches/cassandra-0.6: CHANGES.txt bin/cassandra-cli.bat
Date Wed, 21 Jul 2010 16:00:54 GMT
Author: gdusbabek
Date: Wed Jul 21 16:00:54 2010
New Revision: 966289

URL: http://svn.apache.org/viewvc?rev=966289&view=rev
Log:
update cassandra-cli.bat to generate CP the same way as the other batch files.

Modified:
    cassandra/branches/cassandra-0.6/CHANGES.txt
    cassandra/branches/cassandra-0.6/bin/cassandra-cli.bat

Modified: cassandra/branches/cassandra-0.6/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/CHANGES.txt?rev=966289&r1=966288&r2=966289&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.6/CHANGES.txt Wed Jul 21 16:00:54 2010
@@ -14,6 +14,7 @@
    not-removed commitlog segment is encountered (CASSANDRA-1297)
  * fix duplicate rows being read during mapreduce (CASSANDRA-1142)
  * failure detection wasn't closing command sockets (CASSANDRA-1221)
+ * cassandra-cli.bat works on windows (CASSANDRA-1236)
 
 
 0.6.3

Modified: cassandra/branches/cassandra-0.6/bin/cassandra-cli.bat
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/bin/cassandra-cli.bat?rev=966289&r1=966288&r2=966289&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/bin/cassandra-cli.bat (original)
+++ cassandra/branches/cassandra-0.6/bin/cassandra-cli.bat Wed Jul 21 16:00:54 2010
@@ -25,21 +25,21 @@ REM Ensure that any user defined CLASSPA
 set CLASSPATH=
 
 REM For each jar in the CASSANDRA_HOME lib directory call append to build the CLASSPATH variable.
-for %%i in (%CASSANDRA_HOME%\lib\*.jar) do call :append %%~fi
+for %%i in ("%CASSANDRA_HOME%\lib\*.jar") do call :append "%%i"
 goto okClasspath
 
 :append
-set CLASSPATH=%CLASSPATH%;%1%2
+set CLASSPATH=%CLASSPATH%;%1
 goto :eof
 
 :okClasspath
 REM Include the build\classes directory so it works in development
-set CASSANDRA_CLASSPATH=%CLASSPATH%;%CASSANDRA_HOME%\build\classes
+set CASSANDRA_CLASSPATH=%CLASSPATH%;"%CASSANDRA_HOME%\build\classes"
 goto runCli
 
 :runCli
 echo Starting Cassandra Client
-"%JAVA_HOME%\bin\java" -cp "%CASSANDRA_CLASSPATH%" org.apache.cassandra.cli.CliMain %*
+"%JAVA_HOME%\bin\java" -cp %CASSANDRA_CLASSPATH% org.apache.cassandra.cli.CliMain %*
 goto finally
 
 :err



Mime
View raw message