I received an java project, and I need to open it in Eclipse.
I have a folder with the follow structure :
Project :
.classpath
.project
.settings
src
build
WebContent:
WEB-INF
I put it in the workspace directory but the eclipse does not show me the project.
I have open the .classpath file and i see a lot of for example :
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="C:/J2EE/glassfishv3/glassfish/modules/javax.servlet.jar"/><classpathentry kind="lib" path="C:/J2EE/glassfishv3"/>
<classpathentry kind="lib" path="C:/Mail/mail.jar"/>
I do not have the last three path in my machine .
So my question is what should i do ?
It is not enough to put the project folder inside the Eclipse workspace, it won’t be picked up that way.
The recommended way of importing an Eclipse project is to go through the File > Import… > General > Existing projects into workspace… wizard. Don’t copy the project folder into the workspace, point to its original location instead; if you select the Copy projects into workspace checkbox, the imported project will be automatically copied into your workspace.