jar -cvf projectname.war *
Verbose output can be utilized to say JVM regarding which type of data to see, here JVM is utilized to do some work where as verbose output is utilized to display the output which has been done by JVM.
While using any IDE such as eclipse, developer will get the WAR file from IDE and paste under WEB-APP folder in Apache tomcat. Then developer can easily access that WAR file. Following is the command to extract the WAR file where -x switch of jar tool will be used.
jar -xvf projectname.war