• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

package explorer is blank.

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic