[
https://issues.apache.org/jira/browse/CASSANDRA-20257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922054#comment-17922054
]
Michael Semb Wever commented on CASSANDRA-20257:
------------------------------------------------
+1
> tools/bin/cassandra.in.sh is not preparing CLASSPATH correctly
> --------------------------------------------------------------
>
> Key: CASSANDRA-20257
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20257
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Legacy/Tools
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>
> Compare what is in tools/bin/cassandra.in.sh
> https://github.com/apache/cassandra/blob/cassandra-5.0.2/tools/bin/cassandra.in.sh#L32-L37
> with what is in bin/cassandra.in.sh
> https://github.com/apache/cassandra/blob/cassandra-5.0.2/bin/cassandra.in.sh#L32-L44
> For tools, it means that I am not able to execute e.g. "
> ./tools/bin/sstablemetadata " when developing, e.g. from IDEA, because it
> will prepare CLASSPATH wrongly. The output of `ls -1 ...` are two files (jar
> itself and sources.jar) which are separated by "new line" and when fed to
> CLASSPATH, it will construct it wrongly, having space between, which fails
> the whole thing.
> We need to make tools/bin/cassandra.in.sh the same way as it is done in
> bin/cassandra.in.sh.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]