Importing MyEclipse programs in eclipse

Source: Internet
Author: User

First, import the program into Eclipse, deploy Jdk,tomcat, and so on libraries.

Second, modify the. project file in the project:

Add to:

<buildCommand>

<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>

<arguments>

</arguments>

</buildCommand>

Modify:

<natures>

<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>

<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>

<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>

<nature>org.eclipse.jdt.core.javanature</nature>

<nature>org.eclipse.wst.jsdt.core.jsNature</nature>

</natures>

Refresh the Project project file again. Then, right-click Project-->properties--> Select Project Facets, tick dynamic Web module and Java, and tick tomcat in runtime.

Finally, go to the project directory and add the Org.eclipse.wst.common.component file under its. Settings directory, as follows:

<project-modules id= "Modulecoreid" project-version= "1.5.0" >

<wb-module deploy-name= "project name" >

<wb-resource deploy-path= "/" source-path= "/webroot" tag= "Defaultrootsource"/>

<wb-resource deploy-path= "/web-inf/classes" source-path= "/src"/>

<property name= "Context-root" value= "project name"/>

<property name= "Java-output-path" value= "/project name/build/classes"/>

</wb-module>

</project-modules>

This article is from the "Woodcutter's shoulder Pole" blog, please be sure to keep this source http://8582235.blog.51cto.com/8572235/1874591

Import myeclipse programs in Eclipse

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.