File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jacob deiter
Ranch Hand
Posts: 580
  • 0
  • 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??
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Huh?

Please elaborate the question a bit more smarter way.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic