Reputation: 38180
By default eclipse deploy tomcat app to
.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\
Where do I change this, I can't see any parameter to do this in server properties in eclipse ?
Upvotes: 3
Views: 31630
Reputation: 14548
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
Upvotes: 12
Reputation: 75366
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?
Upvotes: 1