Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11216

Re: New Package JVerein

From Markus Koschany <apo@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: New Package JVerein
Date 2019-05-25 10:40 +0200
Message-ID <y1AnD-O7-3@gated-at.bofh.it> (permalink)
References <y1yOS-8em-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hallo Mechtilde,

Am 25.05.19 um 08:51 schrieb Mechtilde:
[...]
> Can someone advise me through the steps?

I just comment on all the warnings I can find.

source-contains-prebuilt-java-object

The upstream sources contain various jar files. We always remove them
from the upstream tarball to ensure we only build with system libraries.

package-contains-vcs-control-file

Same here, I suggest to remove the .gitignore file when you repack the
tarball anyway.

jar-contains-source

This is usually quite harmless. Normally we don't ship java source files
in our binary packages except the application functions this way
(robocode) but most of the time jar files just contain class files and
some content files like images, sounds or text files. I believe there is
probably something wrong with the build system.

In build/build.xml I can see that java files should have been excluded
when using the jar target but there may be something else, so they get
still included.

executable-jar-without-main-class

It looks like that you are shipping the prebuilt csvjdbc.jar in your
binary package.

codeless-jar

Usually harmless but can indicate an error when building the package.
itext-hyph-xml.jar should probably be a symlink to our system package of
itext.

classpath-contains-relative-path

This may work as long as all your libraries are really in your lib
directory. For instance I can't find patch.jar or metouia.jar. So you
should carefully check whether those jar files should be present in your
lib directory. We normally symlink to our system packages but you have
either installed the prebuilt once or you have copied the system jar
files to the lib directory.

You can modify the classpath by using javahelper and a manifest file

jverein.manifest

usr/share/jameica/plugins/jverein/lib/lib/nc.jar:
 Class-Path: /usr/share/java/kunststoff.jar /usr/share/java/jcalendar.jar

and so on. We recommend absolute paths because they are unambiguous. In
some cases relative paths will lead to build failures when other
packages use your package as a build dependency which makes it often
hard to debug the problem.

So far

Regards,

Markus


Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New Package JVerein Mechtilde <ooo@mechtilde.de> - 2019-05-25 09:00 +0200
  Re: New Package JVerein Markus Koschany <apo@debian.org> - 2019-05-25 10:40 +0200
    Re: New Package JVerein Mechtilde <ooo@mechtilde.de> - 2019-06-07 13:40 +0200
      Re: New Package JVerein Mechtilde Stehmann <mechtilde@debian.org> - 2019-08-25 08:30 +0200
        Re: New Package JVerein Markus Koschany <apo@debian.org> - 2019-08-25 14:10 +0200
          Re: New Package JVerein Mechtilde <ooo@mechtilde.de> - 2019-08-27 20:40 +0200
            Re: New Package JVerein Mechtilde <ooo@mechtilde.de> - 2019-08-31 18:50 +0200

csiph-web