java - Generate war file from tomcat webapp folder -


i have tomcat server working, , there have webapp folder my_web_app.

i didn't deploy project; have folder of application (as tomcat_dir/webapps/my_web_app).

what need war file. how can create .war file webapp?

you can create .war file existing folder.

using command

cd /to/your/folder/location jar -cvf my_web_app.war * 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -