Re: Building Jollyday
Hello Am 08.01.20 um 22:40 schrieb Markus Koschany: > Hello, > > Am 08.01.20 um 18:55 schrieb Mechtilde Stehmann: > [...] > > What is the proper way to handle it? >>> >>> The missing class is indeed part of jaxb-api. You need a >>> build-dependency on libjaxb-api-java and the build system should point >>> to it too. >> >> I have it as build dependency in debian/control and in >> debian/maven.rules I have the following entry >> >> javax.xml.bind s/annotation/jaxb-api/ * s/.*/debian/ * * >> >> >> Is there another thing missing. > > I can't tell. Could you upload your package to Git? I uploaded it to https://salsa.debian.org/mechtilde/jollyday Thanks in advance -- Mechtilde Stehmann ## Apache OpenOffice ## Freie Office Suite für Linux, MacOSX, Windows ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F signature.asc Description: OpenPGP digital signature
Re: Building Jollyday
Hi, Am 09.01.20 um 17:07 schrieb Mechtilde: [...] > I uploaded it to https://salsa.debian.org/mechtilde/jollyday > > Thanks in advance I had a look at jollyday. The reason why the maven rules are not working is because of your dh_auto_build override. In fact you only call maven-debian-helper after a direct invocation of javac hence the maven.rules have no effect. Don't use the override and change the maven rule for junit to junit junit * s/.*/4.x/ * * that should get you a little bit further. The main problem seems to be the generation of de.jollyday.config classes. The current approach doesn't work and we probably need to find a way to avoid packaging com.github.davidmoten jax-maven-plugin just to use the xjc tool. If we can create the missing classes, it should be no problem to build the package with maven-debian-helper. Grüße, Markus signature.asc Description: OpenPGP digital signature
Re: Building Jollyday
Hello, Am 10.01.20 um 00:45 schrieb Markus Koschany: > Hi, > > Am 09.01.20 um 17:07 schrieb Mechtilde: > [...] >> I uploaded it to https://salsa.debian.org/mechtilde/jollyday >> >> Thanks in advance > > I had a look at jollyday. The reason why the maven rules are not working > is because of your dh_auto_build override. In fact you only call > maven-debian-helper after a direct invocation of javac hence the > maven.rules have no effect. Don't use the override and change the maven > rule for junit to > > junit junit * s/.*/4.x/ * * > > that should get you a little bit further. > > The main problem seems to be the generation of de.jollyday.config > classes. That was the reason I did the dh_auto_build override. Otherwise the path to created chlasses was missing. The current approach doesn't work and we probably need to find > a way to avoid packaging com.github.davidmoten jax-maven-plugin just to > use the xjc tool. If we can create the missing classes, it should be no > problem to build the package with maven-debian-helper. For creating the missing classes I need help. Kind regards -- Mechtilde Stehmann ## Apache OpenOffice ## Freie Office Suite für Linux, MacOSX, Windows ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F signature.asc Description: OpenPGP digital signature