Forráskód Böngészése

ZOOKEEPER-1050. zooinspector shell scripts do not work (Will Johnson via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1227923 13f79535-47bb-0310-9956-ffa450edef68
Patrick D. Hunt 13 éve
szülő
commit
f7409be335

+ 3 - 0
CHANGES.txt

@@ -91,6 +91,9 @@ BUGFIXES:
   option of nc (Roman Shaposhnik via phunt)
 
   ZOOKEEPER-1343. getEpochToPropose should check if lastAcceptedEpoch is greater or equal than epoch (fpj via breed)
+
+  ZOOKEEPER-1050. zooinspector shell scripts do not work
+  (Will Johnson via phunt)
  
 IMPROVEMENTS:
 

+ 0 - 1
src/contrib/zooinspector/build.xml

@@ -54,7 +54,6 @@
 		<jar jarfile="${jarname}">
 			<manifest>
 				<attribute name="Main-Class" value="org.apache.zookeeper.inspector.ZooInspector" />
-				<attribute name="Class-Path" value="lib/log4j-1.2.15.jar lib/zookeeper-${version}.jar lib" />
 				<attribute name="Built-By" value="${user.name}" />
 				<attribute name="Built-At" value="${build.time}" />
 				<attribute name="Built-On" value="${host.name}" />

+ 1 - 1
src/contrib/zooinspector/zooInspector.cmd

@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-java -cp zookeeper-dev-ZooInspector.jar;lib/log4j-1.2.15.jar;lib/zookeeper-3.5.0.jar;lib org.apache.zookeeper.inspector.ZooInspector
+java -cp "zookeeper-dev-ZooInspector.jar;lib\*;lib" org.apache.zookeeper.inspector.ZooInspector

+ 1 - 1
src/contrib/zooinspector/zooInspector.sh

@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-java -cp zookeeper-dev-ZooInspector.jar:lib/log4j-1.2.15.jar:lib/zookeeper-3.5.0.jar:lib org.apache.zookeeper.inspector.ZooInspector
+java -cp "zookeeper-dev-ZooInspector.jar:lib/*:lib" org.apache.zookeeper.inspector.ZooInspector