jdk/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties
author mchung
Fri, 06 Mar 2015 09:07:32 -0800
changeset 29369 8f9f8aa1e8e9
parent 25859 jdk/src/jdk.dev/share/classes/sun/tools/jar/resources/jar.properties@3317bb8137f4
child 29914 48393dc87f88
permissions -rw-r--r--
8074429: Move jar, jarsigner tool to jdk.jartool module Reviewed-by: alanb, weijun, erikj, ihse
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
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
error.cant.open=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
     can''t open: {0} 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
error.illegal.option=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
        Illegal option: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
error.bad.option=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
        One of options -{ctxu} must be specified.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
error.bad.cflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
        'c' flag requires manifest or input files to be specified!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
error.bad.uflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
        'u' flag requires manifest, 'e' flag or input files to be specified!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
error.bad.eflag=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
	'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
	 together!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
error.nosuch.fileordir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
        {0} : no such file or directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
error.write.file=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
        Error in writing existing jar file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
error.create.dir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
        {0} : could not create directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
error.incorrect.length=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
        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
    47
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
    48
        Could not create a temporary file
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
out.added.manifest=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        added manifest
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
out.update.manifest=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
        updated manifest
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
out.ignore.entry=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        ignoring entry {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
out.adding=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        adding: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
out.deflated=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        (deflated {0}%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
out.stored=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        (stored 0%)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
out.create=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        \ \ created: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
out.extracted=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        extracted: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
out.inflated=\
19811
8a5812fbba44 7186632: NLS t13y issue on jar.properties file
sherman
parents: 19409
diff changeset
    66
        \ inflated: {0}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
out.size=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
        (in = {0}) (out= {1})
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
usage=\
21348
e30c5696b4c5 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents: 19811
diff changeset
    71
Usage: jar {ctxui}[vfmn0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
Options:\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
\ \   -c  create new archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
\ \   -t  list table of contents for archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
\ \   -x  extract named (or all) files from archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
\ \   -u  update existing archive\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
\ \   -v  generate verbose output on standard output\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
\ \   -f  specify archive file name\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
\ \   -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
    80
\ \   -n  perform Pack200 normalization after creating a new archive\n\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
\ \   -e  specify application entry point for stand-alone application \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
\ \       bundled into an executable jar file\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
\ \   -0  store only; use no ZIP compression\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
\ \   -M  do not create a manifest file for the entries\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
\ \   -i  generate index information for the specified jar files\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
\ \   -C  change to the specified directory and include the following file\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
If any file is a directory then it is processed recursively.\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
The manifest file name, the archive file name and the entry point name are\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
Example 1: to archive two class files into an archive called classes.jar: \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
\ \      jar cvf classes.jar Foo.class Bar.class \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
\ \          files in the foo/ directory into 'classes.jar': \n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
\ \      jar cvfm classes.jar mymanifest -C foo/ .\n