wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes package explorer is blank. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "package explorer is blank." Watch "package explorer is blank." New topic
Author

package explorer is blank.

Aditi Gandy
Ranch Hand

Joined: Apr 23, 2008
Posts: 37
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?

Anyone please help.
Regads,
ashvini


Thanks & Regards,
Author
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package explorer is blank.
 
Similar Threads
soft imported project (Eclipse)
How to get Eclipse working with my bunch of .java and .class files?
is just Subclipse enough? or need install a svn server also?
Cannot import existing project into workspace of eclipse ?
Eclipse projects on removable media