[libjsyntaxpane-java] 01/02: also add the config.properties to the jar file

Martin Quinson mquinson at alioth.debian.org
Sun Aug 4 20:02:24 UTC 2013


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

mquinson pushed a commit to branch master
in repository libjsyntaxpane-java.

commit 57ebb85a4a69c12420a839b40b251ef088082cd1
Author: Martin Quinson <martin.quinson at loria.fr>
Date:   Sun Aug 4 21:42:35 2013 +0200

    also add the config.properties to the jar file
---
 debian/changelog |    6 ++++++
 debian/rules     |    3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bdf735f..15ab18f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libjsyntaxpane-java (0.9.6~r156-3) UNRELEASED; urgency=low
+
+  * also add the config.properties to the jar file
+
+ -- Martin Quinson <mquinson at debian.org>  Sun, 04 Aug 2013 21:41:43 +0200
+
 libjsyntaxpane-java (0.9.6~r156-2) unstable; urgency=low
 
   * Team upload
diff --git a/debian/rules b/debian/rules
index e92cea0..dde8a14 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,9 @@ override_dh_auto_build:
 	jflex -d src/main/java/jsyntaxpane/lexers/ src/main/jflex/jsyntaxpane/lexers/*flex
 	dh_auto_build
 
-# hack to get the META-INF/** files into the jar (jh_build can only include *.class)
 override_dh_install:
+	# hack to get all files into the jar (jh_build can only include *.class)
 	(cd src/main/resources && jar uf ../../../jsyntaxpane.jar META-INF)
+	(cd src/main/resources/META-INF/services/ && jar uf ../../../../../jsyntaxpane.jar `find -name "config.properties"`)
 	dh_install
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/libjsyntaxpane-java.git



More information about the pkg-java-commits mailing list