You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Carver (JIRA)" <ji...@apache.org> on 2009/07/20 18:49:15 UTC
[jira] Issue Comment Edited: (CASSANDRA-307) Running on Windows XP,
get "Incorrect number of parameters: and"
[ https://issues.apache.org/jira/browse/CASSANDRA-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733273#action_12733273 ]
Jason Carver edited comment on CASSANDRA-307 at 7/20/09 9:47 AM:
-----------------------------------------------------------------
This fixes two lines that need double quotes on Windows XP:
from: svn diff bin\cassandra.bat
Index: bin/cassandra.bat
===================================================================
--- bin/cassandra.bat (revision 795691)
+++ bin/cassandra.bat (working copy)
@@ -45,7 +45,7 @@
REM ***** CLASSPATH library setting *****
REM Shorten lib path for old platforms
-subst P: %CASSANDRA_HOME%\lib
+subst P: "%CASSANDRA_HOME%\lib"
P:
set CLASSPATH=P:\
@@ -58,7 +58,7 @@
:okClasspath
set CASSANDRA_CLASSPATH=%CASSANDRA_HOME%;%CASSANDRA_CONF%;%CLASSPATH%;%CASSANDR
A_HOME%\build\classes
-set CASSANDRA_PARAMS=-Dcassandra -Dstorage-config=%CASSANDRA_CONF%
+set CASSANDRA_PARAMS=-Dcassandra -Dstorage-config="%CASSANDRA_CONF%"
goto runDaemon
:runDaemon
was (Author: jcarver):
This fixes two lines that need double quotes on Windows XP
> Running on Windows XP, get "Incorrect number of parameters: and"
> ----------------------------------------------------------------
>
> Key: CASSANDRA-307
> URL: https://issues.apache.org/jira/browse/CASSANDRA-307
> Project: Cassandra
> Issue Type: Bug
> Environment: Windows XP
> Reporter: Jason Carver
> Priority: Minor
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> My eclipse workspace is in "C:\Documents and Settings\Jason\My Documents"
> A couple lines in cassandra.bat missed using double-quotes to protect against folders with spaces in the name.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.