开发者

How to change tomcat default deployment directory in Eclipse?

By default eclipse deploy tomcat app to

.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\

Where 开发者_Go百科do I change this, I can't see any parameter to do this in server properties in eclipse ?


window -> show view -> server

In the opening window, you should see your tomcat installation. double click on that an a new setting page will open.

You will see the Server Locations title, you can set it from that place.

EDIT:

There are three radio boxes in this window. You need to choose appropriate option for you to change the deployment directory. Probably the last one will be better : "Use custom location(does not modify tomcat installation)"

EDIT 2:

Eclipse "Server Locations" section disabled and need to change to use Tomcat installation


Basically whenever you ask the web container to deploy, it is not your responsibility to handle this anymore and you should not tinker with it.

What is the problem you are looking at?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜