Change MyEclipse project to eclipse project

Source: Internet
Author: User

Due to project requirements, the original MyEclipse project needs to be transferred to eclipse. After a long while to get out, to share to everyone, hope that useful to everyone.

First import a project exported from MyEclipse

You cannot then make a tomcat release.

But the MyEclipse project is somewhat different from the Eclipse project structure, so here we can make changes through the Eclipse plugin.

Select the item and click the right mouse button. Select Properties–> Project Facets

Choose Dynamic Web Module here, version 2.4. Then click OK

At this point you find a webcontent folder, you can delete it, because we use MyEclipse, the default is the Webroot folder, to install our pages and some configuration information.

This is not enough because eclipse defaults to webcontent to find resources to display. So we're going to the Eclipse workspace, find the project, go in and change some configuration.

yy/.settings/, edit org.eclipse.wst.common.component this file. Open with Notepad:

Locate the Source-path tag and change the webcontent to WebRoot. That's all you can do. After modifying the configuration file, you need to close the project and then open it. That's all you can do.

Ok

Change MyEclipse project to eclipse project

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.