Re: build package with source and target = java15

2021-05-27 Thread Cyril Richard
what I should add in the rules file, with which syntax? Cheers Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applications Département Interactions et Contrôle quantiques (ICQ) Laboratoire Interdisciplinaire Carnot de Bour

build package with source and target = java15

2021-05-19 Thread Cyril Richard
k to get all files into the jar (jh_build can only include *.class) (cd resources && jar uf ../spview.jar *) dh_install override_dh_auto_clean: dh_auto_clean rm -f *.jar Cheers, Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels

Re: Resources folder is not installed in JAR file

2019-09-30 Thread Cyril Richard
Thank you so much !! Indeed I haven't push the upstream tag for now. I will do it now because your hack is working like a charm !! You saved my day. Thanks again. Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applica

Re: Resources folder is not installed in JAR file

2019-09-30 Thread Cyril Richard
> I can help fix this in your package if you want me to. Oh yes !!! 10 000 yes :). I used to program in C. Java is new to me, so I appreciate your help ! De: "Felix Natter" À: "Cyril Richard" Cc: "debian-java" Envoyé: Lundi 30 Septembre 2019 16:44:22 O

Resources folder is not installed in JAR file

2019-09-30 Thread Cyril Richard
ew.jar sources resources or dh $@ --with javahelper --sourcedirectory=resources with also no succes. Please, could you help me to find out the stone I have in my shoes ? [1] : https://salsa.debian.org/science-team/spview Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscop

Re: no main manifest attribute,

2019-09-29 Thread Cyril Richard
ndeed, with eclipse I have the .classpath file which is: De: "Emmanuel Bourg" À: "debian-java" Cc: "Cyril Richard" Envoyé: Samedi 28 Septembre 2019 09:31:37 Objet: Re: no main manifest attribute, Le 28/09/2019 à 09:02, Cyril Richard a éc

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
OK, I'm almost done. But it crashes when I try to load an image from my resource folder. Should I add a line for resources in the spview.manifest file? Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applications Départ

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
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&q

Re: no main manifest attribute,

2019-09-28 Thread Cyril Richard
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 It looks like it does not. De: "Emmanuel Bourg" À: "debian-java" Cc: "Cyril Richard" Envoyé: Sam

no main manifest attribute,

2019-09-28 Thread Cyril Richard
jar So, my clue is that I have a problem in my d/rules . Can you please help me? Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applications Département Interactions et Contrôle quantiques (ICQ) Laboratoire Interdisciplinaire Carnot de

Re: Error with jh_build

2019-09-27 Thread Cyril Richard
Look like you're right !!! Thank you :) Cyril RICHARD - Ingénieur de Recherche CNRS Equipe Spectroscopie Moléculaire, Processus Collisionnels et Applications Département Interactions et Contrôle quantiques (ICQ) Laboratoire Interdisciplinaire Carnot de Bourgogne, UMR 6303 CNRS

Error with jh_build

2019-09-27 Thread Cyril Richard
rride_jh_build] Error 255 make[1]: Leaving directory '/build/spview-2.0.0~beta1' make: *** [debian/rules:5: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 Could you please explain me what I am doing wrong? Cheers, Cyril RICHARD - In