zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1759719 - in /zookeeper/trunk: CHANGES.txt src/contrib/zooinspector/zooInspector.cmd
Date Wed, 07 Sep 2016 22:12:19 GMT
Author: phunt
Date: Wed Sep  7 22:12:19 2016
New Revision: 1759719

URL: http://svn.apache.org/viewvc?rev=1759719&view=rev
Log:
ZOOKEEPER-2548: zooInspector does not start on Windows (Arshad Mohammad via phunt)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/contrib/zooinspector/zooInspector.cmd

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1759719&r1=1759718&r2=1759719&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Wed Sep  7 22:12:19 2016
@@ -359,6 +359,9 @@ BUGFIXES:
   ZOOKEEPER-2152: Intermittent failure in TestReconfig.cc
   (Michael Han via phunt)
 
+  ZOOKEEPER-2548: zooInspector does not start on Windows
+  (Arshad Mohammad via phunt)
+
 IMPROVEMENTS:
   ZOOKEEPER-2024 Major throughput improvement with mixed workloads (Kfir Lev-Ari via shralex)
 

Modified: zookeeper/trunk/src/contrib/zooinspector/zooInspector.cmd
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/contrib/zooinspector/zooInspector.cmd?rev=1759719&r1=1759718&r2=1759719&view=diff
==============================================================================
--- zookeeper/trunk/src/contrib/zooinspector/zooInspector.cmd (original)
+++ zookeeper/trunk/src/contrib/zooinspector/zooInspector.cmd Wed Sep  7 22:12:19 2016
@@ -1,18 +1,21 @@
-#!/bin/sh
+@echo off
+@rem Licensed to the Apache Software Foundation (ASF) under one or more
+@rem contributor license agreements.  See the NOTICE file distributed with
+@rem this work for additional information regarding copyright ownership.
+@rem The ASF licenses this file to You under the Apache License, Version 2.0
+@rem (the "License"); you may not use this file except in compliance with
+@rem the License.  You may obtain a copy of the License at
+@rem
+@rem     http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
 
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-java -cp "zookeeper-dev-ZooInspector.jar;lib\*;lib" org.apache.zookeeper.inspector.ZooInspector
+set CLASSPATH=lib\*;lib
+for /F %%f in ('dir /b "%~dp0%\*.jar" 2^>nul') do (
+   set CLASSPATH=%%f;%CLASSPATH%
+)
+java -cp "%CLASSPATH%" org.apache.zookeeper.inspector.ZooInspector



Mime
View raw message