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épartement Interaction

Re: Migration from ant to maven

2019-09-28 Thread Markus Koschany
Hi, Am 26.09.19 um 12:04 schrieb Ole Streicher: > Hi again, > > Ole Streicher writes: >> So, now the only error I couldn't resolve is the xmlrpc >> dependency. Could you help me there? > > After re-checking the old package, I solved this now by patching out the > compilation of the classes that

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" À: "Cyril Richard" Cc: "de

Re: no main manifest attribute,

2019-09-28 Thread Emmanuel Bourg
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 proba

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é: Samedi 28 Septembre 2019 09:31:37 Objet

Re: no main manifest attribute,

2019-09-28 Thread Emmanuel Bourg
Le 28/09/2019 à 09:02, Cyril Richard a écrit : > So, my clue is that I have a problem in my d/rules . > Can you please help me? Hi Cyril, There are two ways to run a Java class inside a jar : 1. Invoke java by specific the main class explicitly: java -cp application.jar:dependency.jar org.

no main manifest attribute,

2019-09-28 Thread Cyril Richard
Hello, I come back to you since I'm almost done with my java package. I'm not a java expert, I use to code in C. Java programming is done with eclipse where everything is automatic. The debian rep is here: https://salsa.debian.org/science-team/spview Now, when I build the package the jar is w