[ 
https://issues.apache.org/jira/browse/CASSANDRA-7619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073976#comment-14073976
 ] 

Ala' Alkhaldi commented on CASSANDRA-7619:
------------------------------------------

You need to change to the current directory of  cassandra.in.bat (via pushd 
"%~dp0"  ) before calling it in all the batch files. otherwise a call to 
cassandra-cli.bat, for example, can not be executed from CASSANDRA_HOME. In 
addition, v1 patch has the trailing white spaces issue.

> Normalize windows tool batch file environments
> ----------------------------------------------
>
>                 Key: CASSANDRA-7619
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7619
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>              Labels: Windows
>             Fix For: 2.1.0
>
>         Attachments: 7619_v1.txt
>
>
> Reference CASSANDRA-7587.  We don't currently have something analogous to 
> cassandra.in.sh for Windows so there's no single point of insertion to add 
> something to the environment for those tools to run.  Along with that, 
> there's a bunch of duplicated code in those .bat files to determine 
> classpath, home dir, etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to