# Eclipse workspaces/projects

## Recommended Posts

Hi - to anyone who uses Eclipse: How are the projects supposed to work? As far as I can see - any sub-folder in an eclipse workspace is a "project" (and the source files go into these sub-folders). But I want my workspace to be in a different location to my projects (and therefore the source code). I can't see a way of doing this. ie
/jimfing/stuff/eclipse_workspace/       <-- want my workspace here
/jimfing/stuff/src/game1/               <-- want my sourcecode here


If anyone is wondering why I want to do this - it's to make life easier when using source-control. Thanks

##### Share on other sites
Open project properties.
- Source

This will add an external directory as root of package namespace.

This is in eclipse 3.2.

##### Share on other sites
Quote:
 Original post by JimfingIf anyone is wondering why I want to do this - it's to make life easier when using source-control.

I find it easier to keep my entire workspace inside source control. Btw, not *all* folders in your workspace are projects, only those which you tell eclipse to load as projects are.

Thanks guys

rating++