[zookeeper] 03/04: Rename zooinspector JAR file to zookeeper-zooinspector as per policy.

tony mancill tmancill at debian.org
Sat Feb 3 23:29:57 UTC 2018


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository zookeeper.

commit 9cf46345dc20738d54f9146435ad4f821ad6aab8
Author: tony mancill <tmancill at debian.org>
Date:   Sat Feb 3 15:18:16 2018 -0800

    Rename zooinspector JAR file to zookeeper-zooinspector as per policy.
---
 debian/rules               | 2 ++
 debian/zooinspector        | 2 +-
 debian/zookeeper.classpath | 2 +-
 debian/zookeeper.install   | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6f4a71f..ae96b99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,8 @@ override_dh_auto_build:
 
 	# Compile contribs - zooinspector
 	dh_auto_build -- -f src/contrib/build.xml $(ANT_ARGS) -Dcontribfilesetincludes="zooinspector/build.xml"
+	# rename JAR file to comply with Debian Java policy
+	mv -fv build/contrib/ZooInspector/zookeeper-ZooInspector.jar build/contrib/ZooInspector/zookeeper-zooinspector.jar
 
 	# Build Python Bindings
 	cd src/contrib/zkpython && \
diff --git a/debian/zooinspector b/debian/zooinspector
index 8819c0f..c84ab09 100755
--- a/debian/zooinspector
+++ b/debian/zooinspector
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-CLASSPATH=/usr/share/java/log4j-1.2.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-simple.jar:/usr/share/java/zookeeper.jar:/usr/share/zookeeper/zooinspector/zookeeper-ZooInspector.jar
+CLASSPATH=/usr/share/java/log4j-1.2.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-simple.jar:/usr/share/java/zookeeper.jar:/usr/share/zookeeper/zooinspector/zookeeper-zooinspector.jar
 
 # We have to cd to this dir so that the icons are found
 cd /usr/share/zookeeper/zooinspector
diff --git a/debian/zookeeper.classpath b/debian/zookeeper.classpath
index e2b038e..ed7ace8 100644
--- a/debian/zookeeper.classpath
+++ b/debian/zookeeper.classpath
@@ -1 +1 @@
-usr/share/zookeeper/zooinspector/zookeeper-ZooInspector.jar log4j-1.2.jar zookeeper.jar
+usr/share/zookeeper/zooinspector/zookeeper-zooinspector.jar log4j-1.2.jar zookeeper.jar
diff --git a/debian/zookeeper.install b/debian/zookeeper.install
index d7f100a..d29ed18 100644
--- a/debian/zookeeper.install
+++ b/debian/zookeeper.install
@@ -1,7 +1,7 @@
 bin/zkCleanup.sh /usr/share/zookeeper/bin/
 bin/zkCli.sh /usr/share/zookeeper/bin/
 bin/zkServer.sh /usr/share/zookeeper/bin/
-build/contrib/ZooInspector/zookeeper-ZooInspector.jar /usr/share/zookeeper/zooinspector
+build/contrib/ZooInspector/zookeeper-zooinspector.jar /usr/share/zookeeper/zooinspector
 debian/conf_example /etc/zookeeper/
 debian/zooinspector /usr/bin
 src/contrib/zooinspector/config/* /etc/zookeeper/zooinspector

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/zookeeper.git



More information about the pkg-java-commits mailing list