Oh no, Here my d/rules file:
#!/usr/bin/make -f
# debian/rules for spview
%:
dh $@ --with javahelper --sourcedirectory=sources
override_jh_build:
jh_build --javacopts="-source 1.8 -target 1.8" --javadoc-opts="-source 1.8" spview.jar sources
De: "Emmanuel Bourg" <ebourg@apache.org>
À: "Cyril Richard" <Cyril.Richard@u-bourgogne.fr>
Cc: "debian-java" <debian-java@lists.debian.org>
Envoyé: Samedi 28 Septembre 2019 10:38:33
Objet: Re: no main manifest attribute,
Le 28/09/2019 à 10:11, Cyril Richard a écrit :
> Adding a spview.manifest like that would not help ?
>
> usr/share/java/spview.jar:
> Main-Class: org.spview.Main
> Debian-Java-Home: /usr/lib/jvm/default-java
Yes, but you can remove Debian-Java-Home.
> It looks like it does not.
You are probably missing "--with javahelper" in debian/rules:
%:
dh --with javahelper
Emmanuel Bourg