This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, I am new to Eclipse. I have created 2 workspaces. one in D-drive-for test / trail purpose. another one is in c:- for my project.
I have opened eclipse In D drive workspace, then added tomcat plug-in. plug in is working fine. Later, clicked on switch workspace in File menu.
Now, in c: drive, my project package explorer is blank. But directory structure is there in the system. why my package explorer is blank? when i try to import from file->import->general->existing project, select the root directory of the project, it is showing error message as invalid project name. if it accepts, it is creating my project folder recursively..one in another one,....going to infinite loop...
May i know what is the problem? how to view my prject in package explorer?
I didn't understand all that, but here's how it works:
1. The project explorer is NOT a filesystem explorer. It manages Eclipse projects in a workspace. The actual definitions of "Eclipse project in a workspace" is determined by the workspace metadata. Just placing a directory in the workspace directory won't do it.
Because of this, you don't want to import the project if it's already in the workspace directory. What you have to do is define the project directory as an Eclipse project. To do that, use the "New Project" menu option to create an Eclipse workspace project. If you give the project the same name as the project directory that you've added to the workspace directory, it will tell you so, but there are dialog options to let it know that that's OK.
An IDE is no substitute for an Intelligent Developer.