[ 
https://issues.apache.org/jira/browse/CASSANDRA-20257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-20257:
------------------------------------------
    Fix Version/s: 5.0.4
                   4.1.9
                   5.1
                   4.0.17
                       (was: 5.x)
                       (was: 4.0.x)
                       (was: 4.1.x)
                       (was: 5.0.x)

> 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: 5.1, 5.0.4, 4.1.9, 4.0.17
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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]

Reply via email to