src/jdk.jlink/share/classes/jdk/tools/jimage/resources/jimage.properties
author goetz
Tue, 16 Jan 2018 08:48:34 +0100
changeset 48543 7067fe4e054e
parent 47216 71c04702a3d5
child 48913 7f9c3cd11e97
permissions -rw-r--r--
8189102: All tools should support -?, -h and --help Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38451
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     1
#
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
     2
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
38451
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     4
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    10
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    15
# accompanied this code).
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    16
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    17
# You should have received a copy of the GNU General Public License version
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    20
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    23
# questions.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    24
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37616
diff changeset
    25
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    26
main.usage.summary=\
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    27
Usage: {0} <extract | info | list | verify> <options> jimage...\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39762
diff changeset
    28
use -h or --help for a list of possible options.
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    29
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    30
main.usage=\
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    31
Usage: {0} <extract | info | list | verify> <options> jimage...\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    32
\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    33
\  extract  - Extract all jimage entries and place in a directory specified\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    34
\             by the --dir=<directory> (default='.') option.\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    35
\n\
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    36
\  info     - Prints detailed information contained in the jimage header.\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    37
\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    38
\  list     - Prints the names of all the entries in the jimage.  When used with\n\
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    39
\             --verbose, list will also print entry size and offset attributes.\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    40
\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    41
\  verify   - Reports on any .class entries that don't verify as classes.\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    42
\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    43
Possible options include:
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    44
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    45
main.usage.extract=\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    46
\  extract  - Extract all jimage entries and place in a directory specified\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    47
\             by the --dir=<directory> (default='.') option.
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    48
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    49
main.usage.info=\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    50
\  info     - Prints detailed information contained in the jimage header.
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    51
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    52
main.usage.list=\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    53
\  list     - Prints the names of all the entries in the jimage.  When used with\n\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    54
\             --verbose, list will also print entry size and offset attributes.
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    55
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    56
main.usage.verify=\
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    57
\  verify   - Reports errors on any .class entries that don't verify as classes.
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    58
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    59
error.prefix=Error:
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    60
warn.prefix=Warning:
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    61
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    62
main.opt.dir=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    63
\          --dir                        Target directory for extract directive
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    64
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    65
main.opt.include=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    66
\          --include <pattern-list>     Pattern list for filtering entries.
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    67
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    68
main.opt.full-version=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    69
\          --full-version               Print full version information
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    70
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    71
main.opt.help=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    72
\  -?, -h, --help                       Print this help message
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    73
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    74
main.opt.verbose=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    75
\          --verbose                    Listing prints entry size and offset\n\
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    76
\                                       attributes
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    77
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    78
main.opt.version=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    79
\          --version                    Print version information
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    80
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    81
main.command.files=\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    82
\       @<filename>                  Read options from file
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    83
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    84
main.opt.footer=\
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    85
\n\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    86
\For options requiring a <pattern-list>, the value will be a comma separated\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 41975
diff changeset
    87
\list of elements each using one the following forms:\n\
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    88
\  <glob-pattern>\n\
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    89
\  glob:<glob-pattern>\n\
41975
08caaeb6f1ed 8169720: jimage help message for --include option should be corrected
jlaskey
parents: 40261
diff changeset
    90
\  regex:<regex-pattern>
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38870
diff changeset
    91
38870
9fcc420c73f9 8156995: jimage: extract specified contents
jlaskey
parents: 38869
diff changeset
    92
38869
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    93
4bac8f3bce74 8156994: jimage --help is not helpful
jlaskey
parents: 38451
diff changeset
    94
err.not.a.task=task must be one of <extract | info | list | verify>: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    95
err.missing.arg=no value given for {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    96
err.not.a.dir=not a directory: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    97
err.not.a.jimage=not a jimage file: {0}
37616
d7794846510d 8069079: jimage extract / list to organize classes by modules
jlaskey
parents: 37615
diff changeset
    98
err.no.jimage=no jimage provided
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    99
err.option.unsupported={0} not supported: {1}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   100
err.unknown.option=unknown option: {0}
43721
d541e2bf33e2 8170113: jimage extract to readonly directory causes MissingResourceException
dkononenko
parents: 42174
diff changeset
   101
err.cannot.create.dir=cannot create directory {0}