.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "JH_MANIFEST 1" .TH JH_MANIFEST 1 "2014-12-12" "0.48+deb8u1" "Javahelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" jh_manifest \- Adds or/and modifies manifests for jars .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBjh_manifest\fR [\fIdebhelperĀ options\fR] [\fIoptions\fR] \fIjar1\fR ... \fIjarN\fR .PP \&\fBjh_manifest\fR [\fIdebhelperĀ options\fR] [\fIoptions\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" Javahelper tool to add or update manifests in a jar file. It can be used in two modes. If passed jar files, it will only process these jar files. Otherwise it will update all jar files in the packages it acts on. .PP When processing a package, the \fIdebhelper\fR\|(7) exclude option will make \fBjh_manifest\fR ignore matching jar files. .SH "FILES" .IX Header "FILES" .IP "debian/\fIpackage\fR.manifest (or debian/manifest)" 4 .IX Item "debian/package.manifest (or debian/manifest)" This file consist of a list of jar files and values to add to their manifests. Values in this file will take precedence over values in the original manifest (and command line arguments over values in this file). .Sp It is allowed to list a link in this file instead of an actual jar file, provided that the link can be resolved when \fBjh_manifest\fR processes it. .Sp If a jar file is listed here cannot be found, \fBjh_manifest\fR will print a warning, unless the jar file has been excluded. .Sp As of javahelper >= 0.32, you may add comments in this file. If the line starts with a \*(L"#\*(R" it is completely ignored. .Sp This file is ignored if \fBjh_manifest\fR is passed jar files via command line. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-c\fR \fIclasspath\fR, \fB\-\-classpath=\fR\fIclasspath\fR" 4 .IX Item "-c classpath, --classpath=classpath" Sets the Class-Path attribute of all processed jar files to \&\fIclasspath\fR. .Sp If not passed, then the \s-1CLASSPATH\s0 environment variable will be used in the given jar file do not have a Class-Path attribute. .IP "\fB\-m\fR \fIclass\fR, \fB\-\-main=\fR\fIclass\fR" 4 .IX Item "-m class, --main=class" Sets the Main-Class attribute to \fIclass\fR in all processed jar files. .IP "\fB\-o\fR \fIoptions\fR, \fB\-\-javaopts=\fR\fIoptions\fR" 4 .IX Item "-o options, --javaopts=options" Sets the Debian-Java-Parameters to \fIoptions\fR in all processed jar files. This attribute is used by jarwrapper to start java with extra options (e.g. to make more memory available). .IP "\fB\-j\fR \fI/path/to/java/home\fR, \fB\-\-java\-home=\fR\fI/path/to/java/home\fR" 4 .IX Item "-j /path/to/java/home, --java-home=/path/to/java/home" Sets the Debian-Java-Home attribute to \fI/path/to/java/home\fR in all processed jars. This attribute is used by jarwrapper to determine which \s-1JVM\s0 to use. .SH "EXAMPLES" .IX Header "EXAMPLES" An example debian/manifest file: .PP .Vb 6 \& # use the symlink so we do not have to update with the next upstream release. \& usr/share/java/my.jar: \& Class\-Path: dep1.jar dep2.jar \& Main\-Class: some.awesome.Class \& usr/share/java/dep2.jar: \& Class\-Path: dep1.jar .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper. .SH "AUTHOR" .IX Header "AUTHOR" Niels Thykier .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright 2010 by Niels Thykier .PP This tool is free software; you may redistribute it and/or modify it under the terms of \s-1GNU GPL 2.\s0