Skip to content
Snippets Groups Projects
Unverified Commit af6c36c1 authored by Niels Thykier's avatar Niels Thykier
Browse files

jh_build: Fix processing of --no-javadoc and --javacops/-o


Signed-off-by: default avatarNiels Thykier <niels@thykier.net>
parent c5256e79
No related branches found
No related tags found
No related merge requests found
javatools (0.72.7) UNRELEASED; urgency=medium
* Team upload.
* jh_build: Fix processing of --no-javadoc plus correctly
interpret --javacopts as javac options rather than javadoc
options. (Closes: #924328)
-- Niels Thykier <niels@thykier.net> Mon, 18 Mar 2019 07:28:59 +0000
javatools (0.72.6) unstable; urgency=medium
* Team upload.
......
......@@ -125,10 +125,10 @@ init(options => {
'main|m=s' => \$main_class,
'java-home|j=s' => \$JAVA_HOME,
'javadoc|J!' => $build_javadoc,
'N' => sub { $build_javadoc = 0; },
'no-javadoc|N' => sub { $build_javadoc = 0; },
'clean' => \$do_clean,
# Space-separated list of options
'javacopts|o=s' => sub { @javadoc_opts = split(' ', $_[1])},
'javacopts|o=s' => sub { @javac_opts = split(' ', $_[1])},
'javadoc-opts=s' => sub { @javadoc_opts = split(' ', $_[1])},
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment