Generate war file from tomcat webapp folder

前端 未结 4 1146
醉话见心
醉话见心 2020-12-12 13:06

I have a tomcat server working, and there I have a webapp folder my_web_app.

I didn\'t deploy the project; I only have that folder of that application (

4条回答
  •  情歌与酒
    2020-12-12 13:40

    There is a way to create war file of your project from eclipse.

    First a create an xml file with the following code,

    Replace HistoryCheck with your project name.

    
    
        
        
            
                
                
                    
                
            
        
        
            
        
    
    

    Now, In project explorer right click on that xml file and Run as-> ant build

    You can see the war file of your project in your project folder.

提交回复
热议问题