1 #
   2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 error.cant.open=\
  27      can''t open: {0} 
  28 error.illegal.option=\
  29         Illegal option: {0}
  30 error.bad.option=\
  31         One of options -{ctxu} must be specified.
  32 error.bad.cflag=\
  33         'c' flag requires manifest or input files to be specified!
  34 error.bad.uflag=\
  35         'u' flag requires manifest, 'e' flag or input files to be specified!
  36 error.bad.eflag=\
  37         'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
  38          together!
  39 error.nosuch.fileordir=\
  40         {0} : no such file or directory
  41 error.write.file=\
  42         Error in writing existing jar file
  43 error.create.dir=\
  44         {0} : could not create directory
  45 error.incorrect.length=\
  46         incorrect length while processing: {0}
  47 error.create.tempfile=\
  48         Could not create a temporary file
  49 out.added.manifest=\
  50         added manifest
  51 out.update.manifest=\
  52         updated manifest
  53 out.ignore.entry=\
  54         ignoring entry {0}
  55 out.adding=\
  56         adding: {0}
  57 out.deflated=\
  58         (deflated {0}%)
  59 out.stored=\
  60         (stored 0%)
  61 out.create=\
  62         \ \ created: {0}
  63 out.extracted=\
  64         extracted: {0}
  65 out.inflated=\
  66         \ inflated: {0}
  67 out.size=\
  68         (in = {0}) (out= {1})
  69 
  70 usage=\
  71 Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\
  72 Options:\n\
  73 \ \   -c  create new archive\n\
  74 \ \   -t  list table of contents for archive\n\
  75 \ \   -x  extract named (or all) files from archive\n\
  76 \ \   -u  update existing archive\n\
  77 \ \   -v  generate verbose output on standard output\n\
  78 \ \   -f  specify archive file name\n\
  79 \ \   -m  include manifest information from specified manifest file\n\
  80 \ \   -n  perform Pack200 normalization after creating a new archive\n\
  81 \ \   -e  specify application entry point for stand-alone application \n\
  82 \ \       bundled into an executable jar file\n\
  83 \ \   -0  store only; use no ZIP compression\n\
  84 \ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
  85 \ \   -M  do not create a manifest file for the entries\n\
  86 \ \   -i  generate index information for the specified jar files\n\
  87 \ \   -C  change to the specified directory and include the following file\n\
  88 If any file is a directory then it is processed recursively.\n\
  89 The manifest file name, the archive file name and the entry point name are\n\
  90 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
  91 Example 1: to archive two class files into an archive called classes.jar: \n\
  92 \ \      jar cvf classes.jar Foo.class Bar.class \n\
  93 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
  94 \ \          files in the foo/ directory into 'classes.jar': \n\
  95 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n