jh_linkjars(1)

jh_linkjars1

Populate folders with symlinks to jar files

Usage

jh_linkjars [debhelper options]

jh_linkjars [debhelper options] directory

Overview

If upstream ship convenience copies of third-party jar files which have been removed (see jh_repack(1)), but the build system refers to that directory, jh_linkjars can be used to populate the directory with symlinks to the packaged jars in /usr/share/java.

It is called either with a directory on the command line or by specifying one target directory per line in the file debian/linkjars.

jh_linkjars will scan all of the (installed) build-dependencies and create a symlink to every jar which is installed by those packages in the target directory.

jh_linkjars can be called with -u to remove all the symlinks in the clean target. This is done automatically by jh_clean(1).

Files

debian/linkjars

List of directories to populate; one directory per line.

Options

-t, --transitive

Transitively link jar files (i.e. also include indirect dependencies in the target directory).

-u, --unlink

Remove all files/links in the target directories that jh_linkjars created (or would have created).

Beyond the above, jh_linkjars also accepts the shared debhelper options documented in debhelper(7).

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–9
  2. 10
  3. 11–12
  4. 13

--transitive since Debian 10 (Buster); --unlink since Debian 10 (Buster); -t since Debian 10 (Buster); -u since Debian 10 (Buster).

Author

Niels Thykier <[email protected]>

From javahelper 0.80 in Debian 13 (Trixie). Parsed by carta from the page's man source.