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


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

Re: Is it possible to have multiple versions of a java-lib installed?

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Is it possible to have multiple versions of a java-lib installed?
Date 2018-01-17 23:30 +0100
Message-ID <v94nv-58c-1@gated-at.bofh.it> (permalink)
References <v8Dnk-3yI-11@gated-at.bofh.it> <v8HTX-6yT-3@gated-at.bofh.it> <v8J9n-7jd-1@gated-at.bofh.it> <v8ZQS-281-5@gated-at.bofh.it> <v93KN-4D5-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 17/01/2018 à 22:44, Steinar Bang a écrit :

> Would be legal for a karaf debian package to bundle its own version of
> these jars?

It's fine as long as they are built from source (i.e. no prebuilt jar
files in the source package), but you should really try to package them
separately or use the existing dependencies first (jansi 1.16 is already
in Debian, and the version 4.5.1 of jna currently packaged isn't that
different from the version 4.5.0 used by karaf).

It's really rare to bundle dependencies in source form within a package.
For example JOSM bundles snapshots of other libraries with extra
modifications. Using the packaged versions of these dependencies
wouldn't work. Another example is the jetty9 package which embeds the
one class ALPN API. In this case creating a package containing only one
class used by only one package wouldn't make sense.

Emmanuel Bourg

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


Thread

Is it possible to have multiple versions of a java-lib installed? Steinar Bang <sb@dod.no> - 2018-01-16 18:40 +0100
  Re: Is it possible to have multiple versions of a java-lib installed? Emmanuel Bourg <ebourg@apache.org> - 2018-01-16 23:30 +0100
    Re: Is it possible to have multiple versions of a java-lib  installed? Thorsten Glaser <t.glaser@tarent.de> - 2018-01-17 00:50 +0100
      Re: Is it possible to have multiple versions of a java-lib installed? Steinar Bang <sb@dod.no> - 2018-01-17 18:40 +0100
        Re: Is it possible to have multiple versions of a java-lib installed? Steinar Bang <sb@dod.no> - 2018-01-17 22:50 +0100
          Re: Is it possible to have multiple versions of a java-lib installed? Emmanuel Bourg <ebourg@apache.org> - 2018-01-17 23:30 +0100
            Re: Is it possible to have multiple versions of a java-lib installed? Steinar Bang <sb@dod.no> - 2018-01-17 23:40 +0100
              Re: Is it possible to have multiple versions of a java-lib installed? Emmanuel Bourg <ebourg@apache.org> - 2018-01-18 00:00 +0100
                Re: Is it possible to have multiple versions of a java-lib installed? Steinar Bang <sb@dod.no> - 2018-01-18 17:30 +0100
        Re: Is it possible to have multiple versions of a java-lib installed? Emmanuel Bourg <ebourg@apache.org> - 2018-01-17 23:00 +0100

csiph-web