Where is Eclipse deploy web application Tomcat

摘要: By default Eclipse deploys web application to a internal plugin folder called wtpwebapps, which is located in the following directory :

By default Eclipse deploys web application to a internal plugin folder called wtpwebapps, which is located in the following directory :

{Your_Workspace}/.metadata/.plugins/org.eclipse.wst.server.core/tmp{number}/wtpwebapps
#Example 1 - Windows
C:\Users\mkyong\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
#Example 2 - Mac OSX
/Users/mkyong/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps

How it works

In Server view, double clicks on the “Tomcat Server”, the deployment work is defined in the Server Locations

To edit the default behaviors, clicks on the Open Launch Configuration, select Arguments tab, the deploy path is defined in the VM arguments :

VM arguments :

-Dcatalina.base="/Users/mkyong/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1" 
-Dcatalina.home="/Users/mkyong/Downloads/apache-tomcat-7.0.29" 
-Dwtp.deploy="/Users/mkyong/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps" 
-Djava.endorsed.dirs="/Users/mkyong/Downloads/apache-tomcat-7.0.29/endorsed"

上一篇: Mac OSX What program is using port 80
下一篇: How to debug Ant Ivy project in Eclipse IDE
 评论 ( What Do You Think )
名称
邮箱
网址
评论
验证
   
 

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号