• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In eclipse Navigator view, If I Found many root folders then I can say that Many projects exist in the IDE??
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Huh?

Please elaborate the question a bit more smarter way.
 
Saloon Keeper
Posts: 28663
211
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

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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic