aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the" Watch "In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the" New topic
Author

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

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
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

Joined: Oct 08, 2006
Posts: 2458
Huh?

Please elaborate the question a bit more smarter way.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In eclipse Navigator view, If Found many root folders then I can say that Many projects exist in the