Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@minotaur.apache.org Received: (qmail 78184 invoked from network); 3 Dec 2009 22:44:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 22:44:44 -0000 Received: (qmail 17579 invoked by uid 500); 3 Dec 2009 22:44:44 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 17547 invoked by uid 500); 3 Dec 2009 22:44:43 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 17537 invoked by uid 99); 3 Dec 2009 22:44:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 22:44:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 22:44:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CD056234C498 for ; Thu, 3 Dec 2009 14:44:20 -0800 (PST) Message-ID: <869019453.1259880260838.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 22:44:20 +0000 (UTC) From: "Thibaut (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Commented: (ZOOKEEPER-426) Windows versions of zookeeper scripts In-Reply-To: <1868562634.1243953667562.JavaMail.jira@brutus> 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/ZOOKEEPER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785593#action_12785593 ] Thibaut commented on ZOOKEEPER-426: ----------------------------------- +1. As the standart scripts don't work in cygwin due to invalid classpath. > Windows versions of zookeeper scripts > ------------------------------------- > > Key: ZOOKEEPER-426 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-426 > Project: Zookeeper > Issue Type: Improvement > Components: scripts > Affects Versions: 3.1.1 > Reporter: David Bosschaert > Fix For: 3.3.0 > > Attachments: zkCli.cmd, zkEnv.cmd, zkServer.cmd > > > Attached are a some Windows versions of the zookeeper scripts. They aren't as powerful as the .sh ones but they do work for me and can be invoked with any directory as the current dir. > The biggest trick in the scripts is in the zkEnv.cmd one where it says: > set ZOOCFGDIR=%~dp0%..\conf > this basically figures out the location of the zkEnv.cmd file and sets the conf directory relative to that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.