jacob deiter wrote:In eclipse Navigator view, If I Found many root folders then I can say that Many projects exist in the IDE??
I think we have a language translation problem here. But I suspect I know what the question is. So I'll answer it, and if we're lucky it will be the right question and the right answer!
A given executing instance of Eclipse has one and only one workspace. The workspace is a directory, and if you prefer not to use the default workspace directory, you can supply one of your own. I've done that when I had a whole group of related projects that I wanted to work with separately from my usual projects.
An Eclipse project is not a directory in the workspace. An Eclipse project is a construct defined in the Eclipse workspace. The actual project directory may or may not be in the workspace directory itself, though again, by default when you create a new project, that's where it goes unless you say otherwise to the wizard.
What this all means is that just because you copy project directories into a Eclipse workspace directory, that doesn't automatically make them workspace projects that will show up in the Navigator View. To accomplish that, you have to create new projects and tell Eclipse where the project directories exist (by default it will assume they're in the workspace directory, but again, this isn't the only place you can put a project directory.
In other words, just as you bind a logical servlet name to a servlet class in a web.xml file, you have to bind a logical project name (which displays in the Navigator View) to the physical project directory before Eclipse will be able to see it.
I don't know of a way to do this as a batch process, since it's normally done with the GUI and it's not that common to add multiple projects at once, unless you're checking them out from a version control system. And the checkout process can be told to create the Eclipse project while it's checking out the project directory.
Being persecuted doesn't in any way prove your righteousness or your beliefs. Many people get persecuted because they are repugnant or annoying. Or just because they can be.
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad: