1 #
   2 # Copyright (c) 1999, 2006, 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 out.added.manifest=\
  48         added manifest
  49 out.update.manifest=\
  50         updated manifest
  51 out.ignore.entry=\
  52         ignoring entry {0}
  53 out.adding=\
  54         adding: {0}
  55 out.deflated=\
  56         (deflated {0}%)
  57 out.stored=\
  58         (stored 0%)
  59 out.create=\
  60         \ \ created: {0}
  61 out.extracted=\
  62         extracted: {0}
  63 out.inflated=\
  64         \ \inflated: {0}
  65 out.size=\
  66         (in = {0}) (out= {1})
  67 
  68 usage=\
  69 Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\
  70 Options:\n\
  71 \ \   -c  create new archive\n\
  72 \ \   -t  list table of contents for archive\n\
  73 \ \   -x  extract named (or all) files from archive\n\
  74 \ \   -u  update existing archive\n\
  75 \ \   -v  generate verbose output on standard output\n\
  76 \ \   -f  specify archive file name\n\
  77 \ \   -m  include manifest information from specified manifest file\n\
  78 \ \   -e  specify application entry point for stand-alone application \n\
  79 \ \       bundled into an executable jar file\n\
  80 \ \   -p  specify profile name\n\
  81 \ \   -0  store only; use no ZIP compression\n\
  82 \ \   -M  do not create a manifest file for the entries\n\
  83 \ \   -i  generate index information for the specified jar files\n\
  84 \ \   -C  change to the specified directory and include the following file\n\
  85 If any file is a directory then it is processed recursively.\n\
  86 The manifest file name, the archive file name and the entry point name are\n\
  87 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
  88 Example 1: to archive two class files into an archive called classes.jar: \n\
  89 \ \      jar cvf classes.jar Foo.class Bar.class \n\
  90 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
  91 \ \          files in the foo/ directory into 'classes.jar': \n\
  92 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n