It happens that you are connected via shell to a remote server and you don’t have your “normal” working tool.
Here a couple of command to unpack / repack a war file via command line using only “unzip” and “zip” linux programs.
# Unpack / unzip the warfile in the same folder
unzip warfile.war
# Pack / Zip the warfile
zip -r -u warfile.war <folder/*>
0 Comments