Packaging and decompressing war packages under Linux

Package all files in the current directory into game.war
jar -cvfM0 game.war ./

-c Create war package
-v Display process information
-f    
-M
-0 This is an Arabic number, only means uncompressed and


uncompressed game.war

jar -xvf game.war

Unzip to current directory

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326516799&siteId=291194637