cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-3506) cassandra.bat does not use SETLOCAL, can cause classpath issues
Date Fri, 18 Nov 2011 19:12:53 GMT


Tyler Hobbs updated CASSANDRA-3506:

    Attachment: 3506.txt

Attached patch adds the same conditional setlocal to cassandra.bat that cassandra-cli.bat
> cassandra.bat does not use SETLOCAL, can cause classpath issues
> ---------------------------------------------------------------
>                 Key: CASSANDRA-3506
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.2
>         Environment: Windows
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Minor
>         Attachments: 3506.txt
> In bin/cassandra.bat, we don't use SETLOCAL (although we do use ENDLOCAL for some reason),
so modifications to the classpath within the batch script persist.  This means that if you
run cassandra-1.0.0/bin/cassandra.bat, kill the process, and then run cassandra-1.0.3/bin/cassandra.bat,
the 1.0.0 jars will still be in the classpath. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message