MyEclipse + Tomcat Project Auto-deployment

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.