MyEclipse and Eclipse Modify or copy the project name after the deployment name is the original name

Source: Internet
Author: User

The first time I write such a detailed blog, if you have help, I would like to leave a word, thank you


First, myeclipse the name after replication, access to the project

This is because you just changed the name of the project without changing the

Here's how to fix it:

Method 1. Right-click on your project, select "Properties", enter "web" in "Type filter Text", press the image below to enter your new project name, remember not to remove the "/". Restart the next myeclipse on the can.




Method 2. Find the location of your project in the MyEclipse workspace, you can not find the right click on your project, select "MyEclipse", "Open in Explorer", see the location of your project, open the. mymetadata file, modify the " Project-module "The value of the Context-root property of the label, it is OK.



Second, after eclipse has copied or modified the project, deploy the project to the servlet discovery or the original project name

Workaround:

1. Find the project location first

Also find the location of your project in eclipse, this is different from MyEclipse, right click on the project, select "Properties"; Find your project location as shown below:




2. Open the ". Setting" folder and find "Org.eclipse.wst.common.component" to modify the value of "Wb-module Deploy-name" for your project name, if with your bottom property name= " Context-root "value is also your name, the general changed the name of the time this has been changed. You can restart eclipse.



By the way to recommend a good technical information download website (hope to have something to gain):

51CTO Download Center




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.