Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92D949A46 for ; Fri, 18 Nov 2011 19:13:17 +0000 (UTC) Received: (qmail 99714 invoked by uid 500); 18 Nov 2011 19:13:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 99684 invoked by uid 500); 18 Nov 2011 19:13:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 99633 invoked by uid 99); 18 Nov 2011 19:13:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 19:13:17 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 19:13:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E8AA8D4F8 for ; Fri, 18 Nov 2011 19:12:53 +0000 (UTC) Date: Fri, 18 Nov 2011 19:12:53 +0000 (UTC) From: "Tyler Hobbs (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <704942787.44539.1321643573519.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <838864122.44491.1321643211668.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3506) cassandra.bat does not use SETLOCAL, can cause classpath issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-3506: ----------------------------------- Attachment: 3506.txt Attached patch adds the same conditional setlocal to cassandra.bat that cassandra-cli.bat uses. > cassandra.bat does not use SETLOCAL, can cause classpath issues > --------------------------------------------------------------- > > Key: CASSANDRA-3506 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3506 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira