cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Bailey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3744) Nodetool.bat double quotes classpath
Date Tue, 17 Jan 2012 00:05:38 GMT

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

Nick Bailey commented on CASSANDRA-3744:
----------------------------------------

Right we want to quote the classpath but it is currently getting double quoted which breaks
things on windows. When we loop over the jars in the lib dir and call the ':append' block
we pass each jar quoted. Then later we quote the entire classpath again when we call java.
So we end up with:

{noformat}
""jar1";"jar2";"jar3""
{noformat}

That will actually break if any of those jars have spaces in the path.
                
> Nodetool.bat double quotes classpath
> ------------------------------------
>
>                 Key: CASSANDRA-3744
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3744
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Windows
>            Reporter: Nick Bailey
>            Assignee: Nick Bailey
>            Priority: Minor
>             Fix For: 1.0.8
>
>         Attachments: 0001-Don-t-double-quote-classpath.patch
>
>
> Windows sucks and double quoting things breaks stuff.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message