java war packaging and decompression commands
Packaged as follows:
// Package the current directory into a war package
jar cvf temp.war */ .
Command format:
java cvf package file name directory to be packaged package file save path
Decompression is naturally:
jar xvf temp.war
-v, --verbose
show the execution of the command
-x, --extract, --get
Parse files from archive
-c, --create
Create new archive
jar is similar to the tar command under linux
tar -zcvf package
tar -zxvf to decompress
Packed and compressed with gzip to ***.tar.gz file