Subject: Import into Eclipse IDE WTP
Author: Alex_Raj
In response to: What have been done?
Posted on: 03/29/2012 01:45:39 PM
Follow the same process as in the standard project:
File -> ImportÂ… -> General -> Existing Projects into Workspace
1)Type in your project folder in the Select root directory box: C:\HelloWorld\Maven\MyFirstWebProject\MyWebProject
2)Check Copy projects into workspace checkbox.
3)Click on Finish button.
>
> On 03/29/2012 01:42:24 PM Alex_Raj wrote:
Apart from the two files:
.project
.classpath
which are for the standard Eclipse IDE project, a new folder has been created:
[+] -- .setting
[-] -- org.eclipse.wst.common.component
[-] -- org.eclipse.wst.common.project.facet.core.xml
org.eclipse.wst.common.component
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="2.0">
<wb-module deploy-name="MyWebProject">
<property name="context-root" value="MyWebProject"/>
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
<property name="java-output-path" value="/target/classes"/>
<wb-resource deploy-path="/WEB-INF/classes"
source-path="src/main/resources"/>
</wb-module>
</project-modules>
org.eclipse.wst.common.project.facet.core.xml
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.java" version="1.4"/>
</faceted-project>
References: