src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties

Print this page




   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.multiple.main.operations=\
  27      You may not specify more than one '-cuxti' options
  28 error.cant.open=\
  29      can''t open: {0}
  30 error.illegal.option=\
  31         Illegal option: {0}
  32 error.unrecognized.option=\
  33     unrecognized option : {0}
  34 error.missing.arg=\
  35      option {0} requires an argument
  36 error.bad.file.arg=\
  37      Error parsing file arguments
  38 error.bad.option=\
  39         One of options -{ctxu} must be specified.
  40 error.bad.cflag=\
  41         'c' flag requires manifest or input files to be specified!
  42 error.bad.uflag=\
  43         'u' flag requires manifest, 'e' flag or input files to be specified!
  44 error.bad.eflag=\
  45         'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
  46          together!
  47 error.bad.dflag=\


 158 \ \   -f  specify archive file name\n\
 159 \ \   -m  include manifest information from specified manifest file\n\
 160 \ \   -n  perform Pack200 normalization after creating a new archive\n\
 161 \ \   -e  specify application entry point for stand-alone application \n\
 162 \ \       bundled into an executable jar file\n\
 163 \ \   -0  store only; use no ZIP compression\n\
 164 \ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
 165 \ \   -M  do not create a manifest file for the entries\n\
 166 \ \   -i  generate index information for the specified jar files\n\
 167 \ \   -C  change to the specified directory and include the following file\n\
 168 If any file is a directory then it is processed recursively.\n\
 169 The manifest file name, the archive file name and the entry point name are\n\
 170 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
 171 Example 1: to archive two class files into an archive called classes.jar: \n\
 172 \ \      jar cvf classes.jar Foo.class Bar.class \n\
 173 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
 174 \ \          files in the foo/ directory into 'classes.jar': \n\
 175 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n
 176 
 177 main.usage.summary=\
 178 jar: You must specify one of -ctxui options.
 179 main.usage.summary.try=\
 180 Try `jar --help' for more information.
 181 
 182 main.help.preopt=\
 183 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
 184 jar creates an archive for classes and resources, and can manipulate or\n\
 185 restore individual classes or resources from an archive.\n\
 186 \n\
 187 \ Examples:\n\
 188 \ # Create an archive called classes.jar with two class files:\n\
 189 \ jar --create --file classes.jar Foo.class Bar.class\n\
 190 \ # Create an archive using an existing manifest, with all the files in foo/:\n\
 191 \ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
 192 \ # Create a modular jar archive, where the module descriptor is located in\n\
 193 \ # classes/module-info.class:\n\
 194 \ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 195 \     -C foo/ classes resources\n\
 196 \ # Update an existing non-modular jar to a modular jar:\n\
 197 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 198 \     -C foo/ module-info.class\n\




   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.multiple.main.operations=\
  27      You may not specify more than one '-cuxtid' options
  28 error.cant.open=\
  29      can''t open: {0}
  30 error.illegal.option=\
  31         Illegal option: {0}
  32 error.unrecognized.option=\
  33     unrecognized option : {0}
  34 error.missing.arg=\
  35      option {0} requires an argument
  36 error.bad.file.arg=\
  37      Error parsing file arguments
  38 error.bad.option=\
  39         One of options -{ctxu} must be specified.
  40 error.bad.cflag=\
  41         'c' flag requires manifest or input files to be specified!
  42 error.bad.uflag=\
  43         'u' flag requires manifest, 'e' flag or input files to be specified!
  44 error.bad.eflag=\
  45         'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
  46          together!
  47 error.bad.dflag=\


 158 \ \   -f  specify archive file name\n\
 159 \ \   -m  include manifest information from specified manifest file\n\
 160 \ \   -n  perform Pack200 normalization after creating a new archive\n\
 161 \ \   -e  specify application entry point for stand-alone application \n\
 162 \ \       bundled into an executable jar file\n\
 163 \ \   -0  store only; use no ZIP compression\n\
 164 \ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
 165 \ \   -M  do not create a manifest file for the entries\n\
 166 \ \   -i  generate index information for the specified jar files\n\
 167 \ \   -C  change to the specified directory and include the following file\n\
 168 If any file is a directory then it is processed recursively.\n\
 169 The manifest file name, the archive file name and the entry point name are\n\
 170 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
 171 Example 1: to archive two class files into an archive called classes.jar: \n\
 172 \ \      jar cvf classes.jar Foo.class Bar.class \n\
 173 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
 174 \ \          files in the foo/ directory into 'classes.jar': \n\
 175 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n
 176 
 177 main.usage.summary=\
 178 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...
 179 main.usage.summary.try=\
 180 Try `jar --help' for more information.
 181 
 182 main.help.preopt=\
 183 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
 184 jar creates an archive for classes and resources, and can manipulate or\n\
 185 restore individual classes or resources from an archive.\n\
 186 \n\
 187 \ Examples:\n\
 188 \ # Create an archive called classes.jar with two class files:\n\
 189 \ jar --create --file classes.jar Foo.class Bar.class\n\
 190 \ # Create an archive using an existing manifest, with all the files in foo/:\n\
 191 \ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
 192 \ # Create a modular jar archive, where the module descriptor is located in\n\
 193 \ # classes/module-info.class:\n\
 194 \ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 195 \     -C foo/ classes resources\n\
 196 \ # Update an existing non-modular jar to a modular jar:\n\
 197 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 198 \     -C foo/ module-info.class\n\