Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12668
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Andreas B. Mundt" <andi@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Re: jar missing in /usr/share/maven-repo/ |
| Date | Wed, 05 Jul 2023 20:40:01 +0200 |
| Message-ID | <GOfzX-3bCI-1@gated-at.bofh.it> (permalink) |
| References | <GNV8d-2YHO-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Wed Jul 5 18:33:12 2023 |
| Old-Return-Path | <andi@debian.org> |
| X-Amavis-Spam-Status | No, score=-6.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RERE=1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23350 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/20230705181735.rlrfljiqyp7goazt@flashgordon |
| Approved | robomod@news.nic.it |
| Lines | 54 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 5 Jul 2023 20:17:35 +0200 |
| X-Original-Message-ID | <20230705181735.rlrfljiqyp7goazt@flashgordon> |
| X-Original-References | <cf9df99c-08f1-13b7-3845-773f8ec68d6d@debian.org> |
| Xref | csiph.com linux.debian.maint.java:12668 |
Show key headers only | View raw
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