[med-svn] [Git][med-team/bbmap][master] Attempt to include resources files into JAR - but failed. Please ask Debian Java team for advise

Andreas Tille gitlab at salsa.debian.org
Tue Jun 30 21:29:17 BST 2020



Andreas Tille pushed to branch master at Debian Med / bbmap


Commits:
3d318fbf by Andreas Tille at 2020-06-30T22:28:41+02:00
Attempt to include resources files into JAR - but failed.  Please ask Debian Java team for advise

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -8,6 +8,7 @@ PKGSHAREDIR    := debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)
 export JAVA_HOME  := /usr/lib/jvm/default-java
 DEBJAR    := /usr/share/java
 export CLASSPATH := $(DEBJAR)/mpi.jar
+export JH_JAR_EXTRA := resources/*
 
 %:
 	dh $@ --with javahelper
@@ -22,7 +23,7 @@ override_dh_clean:
 
 override_dh_auto_build:
 	cd jni && make -f makefile.linux
-	jh_build $(DEB_SOURCE).jar current
+	JH_JAR_EXTRA=`$(CURDIR)/resources/*` jh_build $(DEB_SOURCE).jar current
 
 override_dh_install:
 	dh_install



View it on GitLab: https://salsa.debian.org/med-team/bbmap/-/commit/3d318fbf7b22cc793c1bb768e2ac66ec41972226

-- 
View it on GitLab: https://salsa.debian.org/med-team/bbmap/-/commit/3d318fbf7b22cc793c1bb768e2ac66ec41972226
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200630/29b6537a/attachment-0001.html>


More information about the debian-med-commit mailing list