There are two things to consider when setting up automatic deployment of a project in MyEclipse: 1 is the myeclipse itself, Project->auto through the main menu, and the other is the Tomcat configuration file. The configuration file includes Content.xml and server.xml under Conf, <context reloadable= "true" > in Content.xml. In Server.xml there are two tags related to the configuration, one is the configuration in the Host tag
Unpackwars= "true" autodeploy= "true", and another is the configuration of the content tag under host.
<context path = "/" DocBase = "F:\tomcatWeb\webapps\mytripingNew" reloadable= "true" >
Here's how to configure it according to your needs:
1. If you want only one project to automatically deploy the rest without automatic deployment, the method is:
In Content.xml, set automatic deployment to True, set the host property to not automatically deploy in Server.xml,
The Content tab sets specific items for automatic deployment. and set the MyEclipse to automatic deployment.
If you want all projects to be deployed automatically:
Set Content.xml for automatic deployment, and set MyEclipse for automatic deployment.
If you do not want to deploy automatically:
Set MyEclipse to not deploy automatically.
MyEclipse + Tomcat Project Auto-deployment