Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12668
| From | "Andreas B. Mundt" <andi@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Re: jar missing in /usr/share/maven-repo/ |
| Date | 2023-07-05 20:40 +0200 |
| Message-ID | <GOfzX-3bCI-1@gated-at.bofh.it> (permalink) |
| References | <GNV8d-2YHO-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Pierre, many thanks for your quick reply! > […] > > You could try to change the contents of d/libhtmlparser-java.poms to > > debian/pom.xml --no-parent --java-lib --artifact=src/lib/libhtmlparser.jar > > and also to remove d/libhtmlparser-java.jlibs. > > The latter will prevent the installation of the jar in > /usr/share/java while the former will install it in the relevant > subdir of /usr/share/maven-repo and put a symlink in /usr/share/java > (or the contrary, not sure). > > Let us know if this works! Great, it works now! To get the version right, I added: debian/pom.xml --no-parent --java-lib --artifact=src/lib/libhtmlparser.jar --usj-name=libhtmlparser --usj-version=1.6.20060610 Diff of the files' list in the package looks good: --- /tmp/libhtmlparser-java-orig 2023-07-05 19:54:55.340310037 +0200 +++ /tmp/libhtmlparser-java-repo 2023-07-05 19:57:20.964737387 +0200 @@ -3,4 +3,8 @@ /usr/share/doc/libhtmlparser-java/changelog.gz /usr/share/doc/libhtmlparser-java/copyright /usr/share/java/libhtmlparser-1.6.20060610.jar +/usr/share/maven-repo/org/htmlparser/htmlparser/1.6/htmlparser-1.6.pom +/usr/share/maven-repo/org/htmlparser/htmlparser/debian/htmlparser-debian.pom /usr/share/java/libhtmlparser.jar +/usr/share/maven-repo/org/htmlparser/htmlparser/1.6/htmlparser-1.6.jar +/usr/share/maven-repo/org/htmlparser/htmlparser/debian/htmlparser-debian.jar In addition I packaged (draft) libsemantic-version-java with mh_make which worked fine too. I installed the new packages and all other dependencies and was able to run mh_make on the filius sources. Building the package worked after that. However, when I try to start it, I get: $ java -jar /usr/share/java/filius.jar Error: Unable to initialize main class filius.Main Caused by: java.lang.NoClassDefFoundError: ch/qos/logback/core/joran/spi/JoranException So far I have no idea what's wrong, I'll have to investigate further. Again, any help/hint is appreciated! Best regards, Andi
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
jar missing in /usr/share/maven-repo/ "Andreas B. Mundt" <andi@debian.org> - 2023-07-04 22:30 +0200
Re: jar missing in /usr/share/maven-repo/ Pierre Gruet <pgt@debian.org> - 2023-07-04 22:50 +0200
Re: Re: jar missing in /usr/share/maven-repo/ "Andreas B. Mundt" <andi@debian.org> - 2023-07-05 20:40 +0200
Re: Re: jar missing in /usr/share/maven-repo/ Thorsten Glaser <t.glaser@tarent.de> - 2023-07-05 22:00 +0200
Re: Re: jar missing in /usr/share/maven-repo/ tony mancill <tmancill@debian.org> - 2023-07-06 05:30 +0200
how to handle 'resources' best "Andreas B. Mundt" <andi@debian.org> - 2023-07-06 19:50 +0200
Re: how to handle 'resources' best Thorsten Glaser <t.glaser@tarent.de> - 2023-07-06 20:00 +0200
csiph-web