Bug#700196: jh_build: META-INF/** not included in jar

Felix Natter fnatter at gmx.net
Sat Feb 9 19:39:43 UTC 2013


Package: javahelper
Version: 0.43
Severity: wishlist

Dear Maintainer,

I am in the process of updating the libjsyntaxpane-java package:
  http://anonscm.debian.org/gitweb/?p=pkg-java/libjsyntaxpane-java.git

In debian/javabuild, I can specify that class files belonging to java
files in src/main/java are to be added to jsyntaxpane.jar:
  jsyntaxpane.jar src/main/java
Unfortunately, javahelper does not seem to support adding anything besides
class files to a jar file. In my case I needed META-INF/**, so I used
this hack:

override_dh_install:
	(cd src/main/resources && jar uf ../../../jsyntaxpane.jar META-INF)
	dh_install

=> Could you consider adding a "debian/javametadata" where one could
add directories?
  jsyntaxpane.jar src/main/resources/META-INF
(or solve this problem in any other way?)

Thank you and Best Regards!

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages javahelper depends on:
ii  bsdmainutils         9.0.3
ii  dctrl-tools          2.22.2
ii  debhelper            9.20120909
ii  devscripts           2.12.6
ii  dpkg-dev             1.16.9
ii  libarchive-zip-perl  1.30-6

javahelper recommends no packages.

Versions of packages javahelper suggests:
ii  cvs       2:1.12.13+real-9
ii  gawk      1:4.0.1+dfsg-2
pn  tofrodos  <none>

-- no debconf information

-- 
Felix Natter



More information about the pkg-java-maintainers mailing list