jdk/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties
author alanb
Thu, 04 May 2017 07:26:55 +0000
changeset 45004 ea3137042a61
parent 44267 00898a596f31
permissions -rw-r--r--
8178380: Module system implementation refresh (5/2017) Reviewed-by: mchung, alanb, sspitsyn Contributed-by: alan.bateman@oracle.com, mandy.chung@oracle.com, chris.hegarty@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
23010
6dadb192ad81 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents: 21348
diff changeset
     2
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    26
error.multiple.main.operations=\
42463
39c0bbf9d03c 8170952: jar's usage message output need some cleanup
sherman
parents: 42345
diff changeset
    27
     You may not specify more than one '-cuxtid' options
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
error.cant.open=\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    29
     can''t open: {0}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
error.illegal.option=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
        Illegal option: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    32
error.unrecognized.option=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    33
    unrecognized option : {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    34
error.missing.arg=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    35
     option {0} requires an argument
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    36
error.bad.file.arg=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    37
     Error parsing file arguments
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
error.bad.option=\
43512
fd1cea12b2c6 8171522: Jar prints error message with old (non gnu-style options).
henryjen
parents: 43499
diff changeset
    39
        One of options -{ctxuid} must be specified.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
error.bad.cflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
        'c' flag requires manifest or input files to be specified!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
error.bad.uflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        'u' flag requires manifest, 'e' flag or input files to be specified!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
error.bad.eflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
	'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
	 together!
42345
cead5ce4ca27 8167328: jar -d m.jar hangs
sherman
parents: 42338
diff changeset
    47
error.bad.dflag=\
45004
ea3137042a61 8178380: Module system implementation refresh (5/2017)
alanb
parents: 44267
diff changeset
    48
        '-d, --describe-module' option requires no input file(s) to be specified
42703
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
    49
error.bad.reason=\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
    50
        bad reason: {0}, must be one of deprecated, deprecated-for-removal, or incubating
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
error.nosuch.fileordir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
        {0} : no such file or directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
error.write.file=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        Error in writing existing jar file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
error.create.dir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        {0} : could not create directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
error.incorrect.length=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        incorrect length while processing: {0}
21348
e30c5696b4c5 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents: 19811
diff changeset
    59
error.create.tempfile=\
e30c5696b4c5 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents: 19811
diff changeset
    60
        Could not create a temporary file
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    61
error.hash.dep=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    62
        Hashing module {0} dependences, unable to find module {1} on module path
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    63
error.module.options.without.info=\
37779
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
    64
        One of --module-version or --hash-modules without module-info.class
45004
ea3137042a61 8178380: Module system implementation refresh (5/2017)
alanb
parents: 44267
diff changeset
    65
error.no.operative.descriptor=\
ea3137042a61 8178380: Module system implementation refresh (5/2017)
alanb
parents: 44267
diff changeset
    66
        No operative descriptor for release: {0}
ea3137042a61 8178380: Module system implementation refresh (5/2017)
alanb
parents: 44267
diff changeset
    67
error.no.root.descriptor=\
ea3137042a61 8178380: Module system implementation refresh (5/2017)
alanb
parents: 44267
diff changeset
    68
        No root module descriptor, specify --release
44267
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
    69
error.unable.derive.automodule=\
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
    70
        Unable to derive module descriptor for: {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    71
error.unexpected.module-info=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    72
        Unexpected module descriptor {0}
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    73
error.module.descriptor.not.found=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    74
        Module descriptor not found
38468
d459a0f8fe72 8156497: Add jar tool support for Multi-Release Modular JARs
chegar
parents: 37779
diff changeset
    75
error.invalid.versioned.module.attribute=\
d459a0f8fe72 8156497: Add jar tool support for Multi-Release Modular JARs
chegar
parents: 37779
diff changeset
    76
        Invalid module descriptor attribute {0}
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    77
error.missing.provider=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
    78
        Service provider not found: {0}
39313
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
    79
error.release.value.notnumber=\
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
    80
        release {0} not valid
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
    81
error.release.value.toosmall=\
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
    82
        release {0} not valid, must be >= 9
42338
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
    83
error.release.unexpected.versioned.entry=\
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
    84
        unexpected versioned entry {0} for release {1}
40251
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    85
error.validator.jarfile.exception=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    86
        can not validate {0}: {1}
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    87
error.validator.jarfile.invalid=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    88
        invalid multi-release jar file {0} deleted
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    89
error.validator.bad.entry.name=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    90
        entry name malformed, {0}
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    91
error.validator.version.notnumber=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    92
        entry name: {0}, does not have a version number
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    93
error.validator.entryname.tooshort=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    94
        entry name: {0}, too short, not a directory
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    95
error.validator.isolated.nested.class=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    96
        entry: {0}, is an isolated nested class
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    97
error.validator.new.public.class=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    98
        entry: {0}, contains a new public class not found in base entries
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
    99
error.validator.incompatible.class.version=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
   100
        entry: {0}, has a class version incompatible with an earlier version
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
   101
error.validator.different.api=\
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
   102
        entry: {0}, contains a class with different api from earlier version
481b890e50a3 8158295: Add a multi-release jar validation mechanism to jar tool
sdrach
parents: 39313
diff changeset
   103
error.validator.names.mismatch=\
42338
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   104
        entry: {0}, contains a class with internal name {1}, names do not match
43095
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   105
error.validator.info.name.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   106
        module-info.class in a versioned directory contains incorrect name
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   107
error.validator.info.requires.transitive=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   108
        module-info.class in a versioned directory contains additional "requires transitive"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   109
error.validator.info.requires.added=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   110
        module-info.class in a versioned directory contains additional "requires"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   111
error.validator.info.requires.dropped=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   112
        module-info.class in a versioned directory contains missing "requires"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   113
error.validator.info.exports.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   114
        module-info.class in a versioned directory contains different "exports"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   115
error.validator.info.opens.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   116
        module-info.class in a versioned directory contains different "opens"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   117
error.validator.info.provides.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   118
        module-info.class in a versioned directory contains different "provides"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   119
error.validator.info.version.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   120
        {0}: module-info.class in a versioned directory contains different "version"
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   121
error.validator.info.manclass.notequal=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   122
        {0}: module-info.class in a versioned directory contains different "main-class"
41754
8b7c8d5e9a0d 8164805: Fail to create a MR modular JAR with a versioned entry of a concealed package
sdrach
parents: 40437
diff changeset
   123
warn.validator.identical.entry=\
42338
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   124
        Warning: entry {0} contains a class that\n\
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   125
        is identical to an entry already in the jar
41754
8b7c8d5e9a0d 8164805: Fail to create a MR modular JAR with a versioned entry of a concealed package
sdrach
parents: 40437
diff changeset
   126
warn.validator.resources.with.same.name=\
42338
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   127
        Warning: entry {0}, multiple resources with same name
41754
8b7c8d5e9a0d 8164805: Fail to create a MR modular JAR with a versioned entry of a concealed package
sdrach
parents: 40437
diff changeset
   128
warn.validator.concealed.public.class=\
42338
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   129
        Warning: entry {0} is a public class\n\
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   130
        in a concealed package, placing this jar on the class path will result\n\
a60f280f803c 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41754
diff changeset
   131
        in incompatible public interfaces
43095
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   132
warn.release.unexpected.versioned.entry=\
336dfda4ae89 8172432: jar cleanup/update for module and mrm jar
sherman
parents: 42703
diff changeset
   133
        unexpected versioned entry {0}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
out.added.manifest=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        added manifest
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   136
out.added.module-info=\
38468
d459a0f8fe72 8156497: Add jar tool support for Multi-Release Modular JARs
chegar
parents: 37779
diff changeset
   137
        added module-info: {0}
44267
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
   138
out.automodule=\
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
   139
        No module descriptor found. Derived automatic module.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
out.update.manifest=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        updated manifest
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   142
out.update.module-info=\
38468
d459a0f8fe72 8156497: Add jar tool support for Multi-Release Modular JARs
chegar
parents: 37779
diff changeset
   143
        updated module-info: {0}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
out.ignore.entry=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
        ignoring entry {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
out.adding=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        adding: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
out.deflated=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
        (deflated {0}%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
out.stored=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
        (stored 0%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
out.create=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        \ \ created: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
out.extracted=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
        extracted: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
out.inflated=\
19811
8a5812fbba44 7186632: NLS t13y issue on jar.properties file
sherman
parents: 19409
diff changeset
   157
        \ inflated: {0}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
out.size=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        (in = {0}) (out= {1})
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   161
usage.compat=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   162
\Compatibility Interface:\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   163
\n\
39313
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   164
Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files] ...\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
Options:\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
\ \   -c  create new archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
\ \   -t  list table of contents for archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
\ \   -x  extract named (or all) files from archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
\ \   -u  update existing archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
\ \   -v  generate verbose output on standard output\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
\ \   -f  specify archive file name\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
\ \   -m  include manifest information from specified manifest file\n\
21348
e30c5696b4c5 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents: 19811
diff changeset
   173
\ \   -n  perform Pack200 normalization after creating a new archive\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
\ \   -e  specify application entry point for stand-alone application \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
\ \       bundled into an executable jar file\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
\ \   -0  store only; use no ZIP compression\n\
29914
48393dc87f88 8064601: Improve jar file handling
sherman
parents: 29369
diff changeset
   177
\ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
\ \   -M  do not create a manifest file for the entries\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
\ \   -i  generate index information for the specified jar files\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
\ \   -C  change to the specified directory and include the following file\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
If any file is a directory then it is processed recursively.\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
The manifest file name, the archive file name and the entry point name are\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
Example 1: to archive two class files into an archive called classes.jar: \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
\ \      jar cvf classes.jar Foo.class Bar.class \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
\ \          files in the foo/ directory into 'classes.jar': \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
\ \      jar cvfm classes.jar mymanifest -C foo/ .\n
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   189
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   190
main.usage.summary=\
42463
39c0bbf9d03c 8170952: jar's usage message output need some cleanup
sherman
parents: 42345
diff changeset
   191
Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   192
main.usage.summary.try=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   193
Try `jar --help' for more information.
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   194
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   195
main.help.preopt=\
39313
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   196
Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   197
jar creates an archive for classes and resources, and can manipulate or\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   198
restore individual classes or resources from an archive.\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   199
\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   200
\ Examples:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   201
\ # Create an archive called classes.jar with two class files:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   202
\ jar --create --file classes.jar Foo.class Bar.class\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   203
\ # Create an archive using an existing manifest, with all the files in foo/:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   204
\ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   205
\ # Create a modular jar archive, where the module descriptor is located in\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   206
\ # classes/module-info.class:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   207
\ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   208
\     -C foo/ classes resources\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   209
\ # Update an existing non-modular jar to a modular jar:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   210
\ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
39313
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   211
\     -C foo/ module-info.class\n\
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   212
\ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\
43499
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   213
\ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   214
\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   215
To shorten or simplify the jar command, you can specify arguments in a separate\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   216
text file and pass it to the jar command with the at sign (@) as a prefix.\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   217
\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   218
\ Examples:\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   219
\ # Read additional options and list of class files from the file classes.list\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   220
\ jar --create --file my.jar @classes.list\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   221
\n
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   222
main.help.opt.main=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   223
\ Main operation mode:\n
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   224
main.help.opt.main.create=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   225
\  -c, --create               Create the archive
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   226
main.help.opt.main.generate-index=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   227
\  -i, --generate-index=FILE  Generate index information for the specified jar\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   228
\                             archives
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   229
main.help.opt.main.list=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   230
\  -t, --list                 List the table of contents for the archive
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   231
main.help.opt.main.update=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   232
\  -u, --update               Update an existing jar archive
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   233
main.help.opt.main.extract=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   234
\  -x, --extract              Extract named (or all) files from the archive
44267
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
   235
main.help.opt.main.describe-module=\
00898a596f31 8176772: jar tool support to report automatic module names
chegar
parents: 43805
diff changeset
   236
\  -d, --describe-module      Print the module descriptor, or automatic module name
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   237
main.help.opt.any=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   238
\ Operation modifiers valid in any mode:\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   239
\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   240
\  -C DIR                     Change to the specified directory and include the\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   241
\                             following file
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   242
main.help.opt.any.file=\
43499
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   243
\  -f, --file=FILE            The archive file name. When omitted, either stdin or\n\
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   244
\                             stdout is used based on the operation\n\
39313
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   245
\      --release VERSION      Places all following files in a versioned directory\n\
0970a9a1de13 8114827: JDK 9 multi-release enabled jar tool
sdrach
parents: 38468
diff changeset
   246
\                             of the jar (i.e. META-INF/versions/VERSION/)
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   247
main.help.opt.any.verbose=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   248
\  -v, --verbose              Generate verbose output on standard output
43805
9051877afb06 8165035: jar --help-extra should provide information on the -n/--normalize option
psandoz
parents: 43512
diff changeset
   249
main.help.opt.create=\
9051877afb06 8165035: jar --help-extra should provide information on the -n/--normalize option
psandoz
parents: 43512
diff changeset
   250
\ Operation modifiers valid only in create mode:\n
9051877afb06 8165035: jar --help-extra should provide information on the -n/--normalize option
psandoz
parents: 43512
diff changeset
   251
main.help.opt.create.normalize=\
9051877afb06 8165035: jar --help-extra should provide information on the -n/--normalize option
psandoz
parents: 43512
diff changeset
   252
\  -n, --normalize            Normalize information in the new jar archive\n\
9051877afb06 8165035: jar --help-extra should provide information on the -n/--normalize option
psandoz
parents: 43512
diff changeset
   253
\                             after creation
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   254
main.help.opt.create.update=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   255
\ Operation modifiers valid only in create and update mode:\n
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   256
main.help.opt.create.update.main-class=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   257
\  -e, --main-class=CLASSNAME The application entry point for stand-alone\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   258
\                             applications bundled into a modular, or executable,\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   259
\                             jar archive
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   260
main.help.opt.create.update.manifest=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   261
\  -m, --manifest=FILE        Include the manifest information from the given\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   262
\                             manifest file
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   263
main.help.opt.create.update.no-manifest=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   264
\  -M, --no-manifest          Do not create a manifest file for the entries
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   265
main.help.opt.create.update.module-version=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   266
\      --module-version=VERSION    The module version, when creating a modular\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   267
\                             jar, or updating a non-modular jar
37779
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
   268
main.help.opt.create.update.hash-modules=\
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
   269
\      --hash-modules=PATTERN Compute and record the hashes of modules \n\
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
   270
\                             matched by the given pattern and that depend upon\n\
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
   271
\                             directly or indirectly on a modular jar being\n\
7c84df693837 8154956: Module system implementation refresh (4/2016)
alanb
parents: 36511
diff changeset
   272
\                             created or a non-modular jar being updated
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 40251
diff changeset
   273
main.help.opt.create.update.module-path=\
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 40251
diff changeset
   274
\  -p, --module-path          Location of module dependence for generating\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   275
\                             the hash
42703
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   276
main.help.opt.create.update.do-not-resolve-by-default=\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   277
\      --do-not-resolve-by-default  Exclude from the default root set of modules
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   278
main.help.opt.create.update.warn-if-resolved=\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   279
\      --warn-if-resolved     Hint for a tool to issue a warning if the module\n\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   280
\                             is resolved. One of deprecated, deprecated-for-removal,\n\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   281
\                             or incubating
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   282
main.help.opt.create.update.index=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   283
\ Operation modifiers valid only in create, update, and generate-index mode:\n
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   284
main.help.opt.create.update.index.no-compress=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   285
\  -0, --no-compress          Store only; use no ZIP compression
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   286
main.help.opt.other=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   287
\ Other options:\n
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   288
main.help.opt.other.help=\
43499
987e32c4902b 8171524: jar --help doesn't provide information that stdout and stdin can be used as output and input for tool
henryjen
parents: 43095
diff changeset
   289
\  -h, --help[:compat]        Give this, or optionally the compatibility, help
42703
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   290
main.help.opt.other.help-extra=\
20c39ea4a507 8170987: Module system implementation refresh (12/2016)
alanb
parents: 42463
diff changeset
   291
\      --help-extra           Give help on extra options
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   292
main.help.opt.other.version=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   293
\      --version              Print program version
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   294
main.help.postopt=\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   295
\ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   296
\ located in the root of the given directories, or the root of the jar archive\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   297
\ itself. The following operations are only valid when creating a modular jar,\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   298
\ or updating an existing non-modular jar: '--module-version',\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 40251
diff changeset
   299
\ '--hash-modules', and '--module-path'.\n\
36511
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   300
\n\
9d0388c6b336 8142968: Module System implementation
alanb
parents: 29914
diff changeset
   301
\ Mandatory or optional arguments to long options are also mandatory or optional\n\
40261
86a49ba76f52 8136930: Simplify use of module-system options by custom launchers
mchung
parents: 40251
diff changeset
   302
\ for any corresponding short options.