tjake / Solandra

Solandra = Solr + Cassandra
Apache License 2.0
882 stars 150 forks source link

Fails to run on Windows 7 #117

Closed chaostheory closed 13 years ago

chaostheory commented 13 years ago

Details:

I don't have the CASSANDRA_HOME or CASSANDRA_MAIN set.

Result:

Running the batch file errors out with "Starting Cassandra server. The input line is too long."

xytxytxyt commented 13 years ago

Seems to work with the line

for %%i in ("%CASSANDRA_HOME%\lib*.jar") do call :append "%%i"

replaced with

set CLASSPATH=%CLASSPATH%;"%CASSANDRA_HOME%\lib*"

smecsia commented 12 years ago

That didn't work for me. So I've patched solandra.bat using the lines below.

:append set "baseFilePath=%1" call set "baseFilePath=%%baseFilePath:%CASSANDRA_HOME%=..%%" set CLASSPATH=%CLASSPATH%;%baseFilePath% goto :eof