Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

 
Ranch Hand
Posts: 588
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Huh?

Please elaborate the question a bit more smarter way.
 
Saloon Keeper
Posts: 21212
136
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • 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.
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!