I have some issues with importing projects in Eclipse. What does Eclipse recognize as a project? I tried to import into Eclipse some projects I created in Netbeans, but I get a message in the 2nd import dialog box in Eclipse that says:"No projects are found to import". However if I were to import a project from an eclipse workspace itself, I am not getting such a message. Why is this happening? Hope somone can advise. The Eclipse in question is Eclipse Gallieo. Thanks
Thanks for the reply, much appreciated. Does that mean it's not possible to open a netbeans project in Eclipse as a project created in netbeans does not have the '.project' file?
Is there any workaround?
author & internet detective
You still can; just not via the file system. If you export the project as a jar file or war file from NetBeans, you can then import that into Eclipse. Since you are dealing with a java artifact, both IDEs know how to deal with that. Whereas with the raw files, Eclipse doesn't know what to make of it.
It's important to make a distinction between the project files and the "project" itself.
Eclipse won't automatically recognize any project. You have to either import it, or create it. You can create a project which uses existing files in a directory in the workspace (or for that matter, in some other place).
The .project (and .classpath files, for Java projects) are created for the benefit of Eclipse, but what's more important is that when you create a project using the New/Project command sequence, a collection of information is constructed in the workspace metadata directory. Without this invisible "black box" (huh?) data, the project isn't an Eclipse project and Eclipse won't see it as a workspace project.
An IDE is no substitute for an Intelligent Developer.