For example, my project in F / Myjar
F: \ myjar> LL
'LL' is not an internal or external command, operable program
or batch file.
F: \ Myjar> cd mian
system can not find the path specified.
F: \ Myjar> cd java
system can not find the path specified.
F:\Myjar>cd src
F:\Myjar\src>cd main
F:\Myjar\src\main>cd scala
F:\Myjar\src\main\scala>cd org
F:\Myjar\src\main\scala\org>cd apache
F:\Myjar\src\main\scala\org\apache>cd spark
F: \ Myjar \ src \ main \ scala \ org \ apache \ spark> jar cvf Logging.jar Logging.scala
added inventory
is being added: Logging.scala (input = 6328) (output = 2015) (68% compression)
F:\Myjar\src\main\scala\org\apache\spark>
Meaning packed into Logging.jar in the Logging.scala
two
-c Create a new JAR file package
-t lists the contents of the package JAR file list
Expand the JAR file to specify -x file or all files in the package
-u update package JAR file that already exists (add files to the JAR file in the package)
[Vfm0M] Optionally the options may not be selected, which is an option parameter jar command
-v generate detailed reports and printed to standard output
-f specify the JAR file name, usually this parameter is required
-m specifies the need to include the manifest file MANIFEST
-0 only store, not compressed JAR package thus produced will be larger than the volume without the parameters generated, but faster
-M does not produce a list of all items (MANIFEST file], this argument ignores the -m parameter
[Jar-file] the need to generate, view, update or unlock the JAR package, which is a subsidiary parameter parameter -f
[Manifest- file] that is MANIFEST list file, which is a subsidiary argument to the -m parameter
Parameter Reference deficiencies at Pleased to meet you