Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news-1.dfn.de!news-2.dfn.de!news.dfn.de!fu-berlin.de!bofh.it!news.nic.it!robomod From: "Andreas B. Mundt" Newsgroups: linux.debian.maint.java Subject: how to handle 'resources' best Date: Thu, 06 Jul 2023 19:50:01 +0200 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Thu Jul 6 17:45:26 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.99 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, 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=us-ascii Content-Disposition: inline X-Mailing-List: archive/latest/23353 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20230706172751.yfi3jqoif4gjyjyq@flashgordon Approved: robomod@news.nic.it Lines: 21 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 6 Jul 2023 19:27:51 +0200 X-Original-Message-ID: <20230706172751.yfi3jqoif4gjyjyq@flashgordon> X-Original-References: <39ce09f-d221-2834-42df-b1d0f7ec6dc4@tarent.de> Xref: csiph.com linux.debian.maint.java:12671 Hi Thorsten, tony, all, many thanks for your help! It almost started working now: I added a wrapper script as suggested by tony and got rid of the missing class definitions. However, the next challenge turned up: filius uses some 'resources' [1] which need to be available and I am not sure how to solve this best. So far, they are not deployed by the packet automatically, but a debian/libfilius-java.install file solves this. The 'resources' are expected relative to /usr/share/java/filius.jar in directories (i.e. config/filius.ini). How is it best to handle this situation? Is it possible to tweak the path somehow (in the wrapper script?) or do I need to patch the sources? Right now, I copy the resources to /usr/share/filius/. Many thanks in advance for help and hints, Andi [1] https://gitlab.com/filius1/filius/-/tree/master/src/main