src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink.properties
author mchung
Wed, 31 Jan 2018 15:15:09 -0800
changeset 48692 60c19c384333
parent 48543 7067fe4e054e
permissions -rw-r--r--
8196310: jlink --suggest-providers fails with missing resource if --output specified Reviewed-by: alanb, lancea, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38451
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
     1
#
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 48223
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: 37779
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: 37779
diff changeset
     4
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
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: 37779
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: 37779
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
    10
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
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: 37779
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
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: 37779
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: 37779
diff changeset
    15
# accompanied this code).
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
    16
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
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: 37779
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: 37779
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: 37779
diff changeset
    20
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
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: 37779
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: 37779
diff changeset
    23
# questions.
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
    24
#
a98523f5cbff 8157154: jmod jlink properties file need copyright header
chegar
parents: 37779
diff changeset
    25
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    26
main.usage.summary=\
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    27
Usage: {0} <options> --module-path <modulepath> --add-modules <module>[,<module>...]\n\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    28
\Use --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=\
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    31
Usage: {0} <options> --module-path <modulepath> --add-modules <module>[,<module>...]\n\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    32
\Possible options include:
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    33
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    34
main.opt.help=\
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 48223
diff changeset
    35
\  -h, --help, -?                        Print this help message
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    36
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    37
main.opt.version=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    38
\      --version                         Version information
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    39
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39150
diff changeset
    40
main.opt.module-path=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    41
\  -p, --module-path <path>              Module path
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    42
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39150
diff changeset
    43
main.opt.add-modules=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    44
\      --add-modules <mod>[,<mod>...]    Root modules to resolve
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    45
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39150
diff changeset
    46
main.opt.limit-modules=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    47
\      --limit-modules <mod>[,<mod>...]  Limit the universe of observable\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    48
\                                        modules
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    49
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    50
main.opt.output=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    51
\      --output <path>                   Location of output path
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    52
42762
11a1ad340d4f 8170289: Re-examine entry point support in jlink
sundar
parents: 42174
diff changeset
    53
main.opt.launcher=\
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    54
\      --launcher <name>=<module>[/<mainclass>]\n\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    55
\                                        Add a launcher command of the given\n\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    56
\                                        name for the module and the main class\n\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    57
\                                        if specified  
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    58
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    59
main.opt.bind-services=\
44747
dc7378149f20 8178404: jlink --suggest-providers should list providers from observable modules
mchung
parents: 44367
diff changeset
    60
\      --bind-services                   Link in service provider modules and\n\
dc7378149f20 8178404: jlink --suggest-providers should list providers from observable modules
mchung
parents: 44367
diff changeset
    61
\                                        their dependences
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    62
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    63
main.opt.suggest-providers=\
44747
dc7378149f20 8178404: jlink --suggest-providers should list providers from observable modules
mchung
parents: 44367
diff changeset
    64
\      --suggest-providers [<name>,...]  Suggest providers that implement the\n\
dc7378149f20 8178404: jlink --suggest-providers should list providers from observable modules
mchung
parents: 44367
diff changeset
    65
\                                        given service types from the module path
42762
11a1ad340d4f 8170289: Re-examine entry point support in jlink
sundar
parents: 42174
diff changeset
    66
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    67
main.command.files=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    68
\      @<filename>                       Read options from file
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    69
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    70
main.opt.endian=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    71
\      --endian <little|big>             Byte order of generated jimage\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    72
\                                        (default:native)
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    73
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39150
diff changeset
    74
main.opt.save-opts=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    75
\      --save-opts <filename>            Save jlink options in the given file
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    76
41919
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
    77
main.opt.ignore-signing-information=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    78
\      --ignore-signing-information      Suppress a fatal error when signed\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    79
\                                        modular JARs are linked in the image.\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    80
\                                        The signature related files of the\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    81
\                                        signed modular JARs are not copied to\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    82
\                                        the runtime image.
41919
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
    83
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    84
main.opt.verbose=\
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    85
\  -v, --verbose                         Enable verbose tracing
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
    86
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    87
main.msg.bug=\
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    88
An exception has occurred in jlink. \
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    89
Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) \
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    90
after checking the database for duplicates. \
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    91
Include your program and the following diagnostic in your report.  Thank you.
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    92
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
    93
main.extended.help=\
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
    94
\List of available plugins:
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
    95
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
    96
main.extended.help.footer=\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
    97
\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: 42151
diff changeset
    98
\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: 38451
diff changeset
    99
\  <glob-pattern>\n\
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
   100
\  glob:<glob-pattern>\n\
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
   101
\  regex:<regex-pattern>\n\
42174
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
   102
\  @<filename> where filename is the name of a file containing patterns to be\n\
fa763b059501 8168256: Plugin alias options in jlink --help output seems to be in an arbitrary order
jlaskey
parents: 42151
diff changeset
   103
\              used, one pattern per line\n\
39150
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
   104
\n\
cb99396625b4 8159172: Update usage of jlink/jimage/jmod to show option patterns
jlaskey
parents: 38451
diff changeset
   105
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   106
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   107
error.prefix=Error:
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   108
warn.prefix=Warning:
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   109
48071
a5cadeee8763 8185130: jlink should throw error if target image and current JDK versions don't match
sundar
parents: 47399
diff changeset
   110
err.empty.module.path=empty module path
a5cadeee8763 8185130: jlink should throw error if target image and current JDK versions don't match
sundar
parents: 47399
diff changeset
   111
err.jlink.version.mismatch=jlink version {0}.{1} does not match target java.base version {2}.{3}
47399
fb677b3f0888 8189671: jlink should clearly report error when an automatic module is used
sundar
parents: 47216
diff changeset
   112
err.automatic.module:automatic module cannot be used with jlink: {0} from {1}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   113
err.unknown.byte.order:unknown byte order {0}
42762
11a1ad340d4f 8170289: Re-examine entry point support in jlink
sundar
parents: 42174
diff changeset
   114
err.launcher.main.class.empty:launcher main class name cannot be empty: {0}
11a1ad340d4f 8170289: Re-examine entry point support in jlink
sundar
parents: 42174
diff changeset
   115
err.launcher.module.name.empty:launcher module name cannot be empty: {0}
11a1ad340d4f 8170289: Re-examine entry point support in jlink
sundar
parents: 42174
diff changeset
   116
err.launcher.value.format:launcher value should be of form <command>=<module>[/<main-class>]: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   117
err.output.must.be.specified:--output must be specified
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 39150
diff changeset
   118
err.modulepath.must.be.specified:--module-path must be specified
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   119
err.mods.must.be.specified:no modules specified to {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   120
err.path.not.found=path not found: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   121
err.path.not.valid=invalid path: {0}
41953
3e89e6103470 8155756: Better context for some jlink exceptions
jlaskey
parents: 41919
diff changeset
   122
err.image.must.exist=image {0} does not exist or is not a directory
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   123
err.existing.image.invalid=existing image is not valid
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   124
err.file.not.found=cannot find file: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   125
err.file.error=cannot access file: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   126
err.dir.exists={0} already exists
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   127
err.badpattern=bad pattern {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   128
err.unknown.option=unknown option: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   129
err.missing.arg=no value given for {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   130
err.internal.error=internal error: {0} {1} {2}
48692
60c19c384333 8196310: jlink --suggest-providers fails with missing resource if --output specified
mchung
parents: 48543
diff changeset
   131
err.invalid.arg.for.option={0} does not accept \"{1}\" argument
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   132
err.option.after.class=option must be specified before classes: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   133
err.option.unsupported={0} not supported: {1}
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   134
err.orphan.arguments=invalid argument: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   135
err.config.defaults=property {0} is missing from configuration
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   136
err.config.defaults.value=wrong value in defaults property: {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   137
err.bom.generation=bom file generation failed: {0}
48223
962b4324320c 8192986: Inconsistent handling of exploded modules in jlink
sundar
parents: 48071
diff changeset
   138
err.not.a.module.directory=directory {0} does not contain module-info.class file under it
962b4324320c 8192986: Inconsistent handling of exploded modules in jlink
sundar
parents: 48071
diff changeset
   139
err.cannot.read.module.info=cannot read module descriptor from {0}
41919
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
   140
err.not.modular.format=selected module {0} ({1}) not in jmod or modular JAR format
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
   141
err.signing=signed modular JAR {0} is currently not supported,\
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
   142
\ use --ignore-signing-information to suppress error
42151
8909334754c4 8169505: Update changes by JDK-8159393 to reflect CCC review
jlaskey
parents: 41953
diff changeset
   143
warn.signing=WARNING: signed modular JAR {0} is currently not supported
41919
612b698f8b8f 8159393: jlink should print a warning that a signed modular JAR will be treated as unsigned
jlaskey
parents: 41766
diff changeset
   144
warn.invalid.arg=invalid classname or pathname not exist: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents:
diff changeset
   145
warn.split.package=package {0} defined in {1} {2}
44747
dc7378149f20 8178404: jlink --suggest-providers should list providers from observable modules
mchung
parents: 44367
diff changeset
   146
warn.provider.notfound=No provider found for service specified to --suggest-providers: {0}
44367
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   147
no.suggested.providers=--bind-services option is specified. No additional providers suggested.
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   148
suggested.providers.header=Suggested providers
a81c9c6619fb 8174826: jlink support for linking in service provider modules
mchung
parents: 43495
diff changeset
   149
providers.header=Providers