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


Groups > comp.lang.java.programmer > #38880

Preferred way to distribute application

From Graeme Geldenhuys <graemeg@example.net>
Newsgroups comp.lang.java.programmer
Subject Preferred way to distribute application
Date 2019-04-08 12:28 +0100
Organization Aioe.org NNTP Server
Message-ID <q8fb8g$243$1@gioia.aioe.org> (permalink)

Show all headers | View raw


What is the preferred way to distribute a console java application?

For example:

  1.  Package everything into a single JAR with embedded jar
      dependencies.

  2.  Package application into a single JAR but don't embed any
      dependency jars. Have the dependency jars as a separate
      downloadable archive.

  3.  Package everything into a single JAR with related
      dependencies but dependencies are unpacked - seems to
      produce a slightly smaller final jar.


At the moment I don't have a lot of dependencies, but you never know
what the future of the project might dictate.

Not sure if it matters, but I'm using Eclipse to build the final JAR. In
the future I would like to let Maven do this for me so I can automate
builds.

Regards,
  Graeme

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Preferred way to distribute application Graeme Geldenhuys <graemeg@example.net> - 2019-04-08 12:28 +0100
  Re: Preferred way to distribute application Joerg Meier <joergmmeier@arcor.de> - 2019-04-08 14:46 +0200
    Re: Preferred way to distribute application Graeme Geldenhuys <graemeg@example.net> - 2019-04-10 10:29 +0100
  Re: Preferred way to distribute application Patrick Roemer <sangamon@netcologne.de> - 2019-04-10 16:22 +0200

csiph-web